Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 105.4 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 192.1 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7382/0.7382, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 62.53 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1281, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0151/0.1433, allocations: 15.04 MB / 0.68 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004924/0.1482, allocations: 3.899 MB / 0.6838 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.1487, allocations: 15.94 kB / 0.6838 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.1492, allocations: 194.6 kB / 0.684 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1508, allocations: 0.6764 MB / 0.6846 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.152, allocations: 481.2 kB / 0.6851 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1533, allocations: 1.079 MB / 0.6861 GB, free: 376 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.1538, allocations: 281.6 kB / 0.6864 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000619/0.1544, allocations: 402.6 kB / 0.6868 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1547, allocations: 266.7 kB / 0.6871 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.1548, allocations: 24 kB / 0.6871 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1558, allocations: 0.7133 MB / 0.6878 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.1559, allocations: 75.62 kB / 0.6878 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1561, allocations: 194.9 kB / 0.688 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.157, allocations: 0.7284 MB / 0.6887 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.157, allocations: 0 / 0.6887 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.392e-06/0.157, allocations: 3.938 kB / 0.6887 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.157, allocations: 0 / 0.6887 GB, free: 13.7 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009679/0.158, allocations: 0.7396 MB / 0.6895 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.158, allocations: 9.109 kB / 0.6895 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.1581, allocations: 48.47 kB / 0.6895 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.1589, allocations: 0.5049 MB / 0.69 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1589, allocations: 16.33 kB / 0.69 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.159, allocations: 16 kB / 0.69 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.1593, allocations: 180.2 kB / 0.6902 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1593, allocations: 0 / 0.6902 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1594, allocations: 4 kB / 0.6902 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.1594, allocations: 4 kB / 0.6902 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.1597, allocations: 144 kB / 0.6904 GB, free: 11.94 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009831/0.1607, allocations: 0.8606 MB / 0.6912 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1609, allocations: 126.6 kB / 0.6913 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.1611, allocations: 76.73 kB / 0.6914 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.1613, allocations: 340.4 kB / 0.6917 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1614, allocations: 34.56 kB / 0.6918 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.1614, allocations: 0 / 0.6918 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005047/0.1619, allocations: 213.1 kB / 0.692 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.1619, allocations: 55.41 kB / 0.692 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.1622, allocations: 345.7 kB / 0.6923 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1623, allocations: 33.7 kB / 0.6924 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1624, allocations: 196.2 kB / 0.6926 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1624, allocations: 39.41 kB / 0.6926 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.1625, allocations: 33.7 kB / 0.6926 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1626, allocations: 346.8 kB / 0.693 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1627, allocations: 48.83 kB / 0.693 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1629, allocations: 92.23 kB / 0.6931 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.1631, allocations: 121.5 kB / 0.6932 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1632, allocations: 0 / 0.6932 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003369/0.1635, allocations: 177 kB / 0.6934 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.1635, allocations: 8 kB / 0.6934 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1635, allocations: 0 / 0.6934 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1635, allocations: 4 kB / 0.6934 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1637, allocations: 27.97 kB / 0.6934 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1637, allocations: 4 kB / 0.6934 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.1639, allocations: 15.92 kB / 0.6934 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1639, allocations: 4 kB / 0.6934 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001935/0.1641, allocations: 156.1 kB / 0.6936 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001393/0.1642, allocations: 100.1 kB / 0.6937 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002282/0.1645, allocations: 109.7 kB / 0.6938 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.51e-07/0.1645, allocations: 0 / 0.6938 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003059/0.1648, allocations: 173.1 kB / 0.694 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.121e-06/0.1648, allocations: 4 kB / 0.694 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.1648, allocations: 4.312 kB / 0.694 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-06/0.1648, allocations: 4 kB / 0.694 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1649, allocations: 31.86 kB / 0.694 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-06/0.1649, allocations: 0 / 0.694 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1651, allocations: 23.88 kB / 0.694 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1651, allocations: 4 kB / 0.694 GB, free: 7.879 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.1652, allocations: 192.3 kB / 0.6942 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.1653, allocations: 35.56 kB / 0.6942 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.1657, allocations: 235.4 kB / 0.6945 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1658, allocations: 0 / 0.6945 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1658, allocations: 0 / 0.6945 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1658, allocations: 3.984 kB / 0.6945 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007727/0.1666, allocations: 0.6373 MB / 0.6951 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1666, allocations: 0 / 0.6951 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.1667, allocations: 23.98 kB / 0.6951 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1667, allocations: 96 / 0.6951 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1667, allocations: 11.98 kB / 0.6951 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1667, allocations: 0 / 0.6951 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1667, allocations: 96 / 0.6951 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1671, allocations: 325.4 kB / 0.6954 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1672, allocations: 124.6 kB / 0.6956 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.1673, allocations: 7.984 kB / 0.6956 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.1675, allocations: 19.98 kB / 0.6956 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1675, allocations: 11.92 kB / 0.6956 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1675, allocations: 4 kB / 0.6956 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002219/0.1677, allocations: 251.2 kB / 0.6958 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1677, allocations: 3.938 kB / 0.6958 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005062/0.1683, allocations: 187.7 kB / 0.696 GB, free: 5.715 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004586/0.1687, allocations: 253.9 kB / 0.6963 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.1692, allocations: 179.8 kB / 0.6964 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1692, allocations: 0 / 0.6964 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.1694, allocations: 91.81 kB / 0.6965 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.1701, allocations: 151.3 kB / 0.6967 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/0.1709, allocations: 0.5921 MB / 0.6972 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.1712, allocations: 0.7918 MB / 0.698 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.1713, allocations: 35.38 kB / 0.6981 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2.9e-07/0.1713, allocations: 0 / 0.6981 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.007728/0.179, allocations: 5.757 MB / 0.7037 GB, free: 13.86 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)