Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009774/0.0009775, allocations: 107.1 kB / 16.4 MB, free: 6.488 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.000944/0.000944, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.255/1.255, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7188/0.7188, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 67.28 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 76.18 MB / 0.6321 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01632/0.1591, allocations: 15.04 MB / 0.6467 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005833/0.165, allocations: 3.884 MB / 0.6505 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.1656, allocations: 19.88 kB / 0.6506 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.1662, allocations: 186.7 kB / 0.6507 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.1678, allocations: 0.6803 MB / 0.6514 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.169, allocations: 468.2 kB / 0.6518 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.1704, allocations: 1.097 MB / 0.6529 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.1708, allocations: 285.5 kB / 0.6532 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.1715, allocations: 418.4 kB / 0.6536 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.1718, allocations: 258.8 kB / 0.6538 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.767e-05/0.1719, allocations: 28 kB / 0.6539 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.1731, allocations: 0.7173 MB / 0.6546 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.1732, allocations: 71.69 kB / 0.6546 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.1733, allocations: 190.9 kB / 0.6548 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008643/0.1742, allocations: 0.7089 MB / 0.6555 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1742, allocations: 0 / 0.6555 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1742, allocations: 3.938 kB / 0.6555 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.1743, allocations: 0 / 0.6555 GB, free: 12.34 MB / 0.4981 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.001053/0.1753, allocations: 0.7513 MB / 0.6562 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1754, allocations: 8.031 kB / 0.6562 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1755, allocations: 44.47 kB / 0.6563 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.1763, allocations: 0.5096 MB / 0.6568 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1763, allocations: 20.33 kB / 0.6568 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1764, allocations: 23.92 kB / 0.6568 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.1767, allocations: 176.2 kB / 0.657 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1768, allocations: 0 / 0.657 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1768, allocations: 4 kB / 0.657 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.1768, allocations: 4 kB / 0.657 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.1771, allocations: 136.2 kB / 0.6571 GB, free: 10.57 MB / 0.4981 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.00105/0.1782, allocations: 0.8644 MB / 0.658 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1784, allocations: 122.6 kB / 0.6581 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1786, allocations: 68.81 kB / 0.6582 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.1789, allocations: 336.4 kB / 0.6585 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1789, allocations: 34.56 kB / 0.6585 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.1789, allocations: 0 / 0.6585 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005406/0.1795, allocations: 221 kB / 0.6587 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.1796, allocations: 55.41 kB / 0.6588 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1799, allocations: 345.7 kB / 0.6591 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1799, allocations: 29.7 kB / 0.6591 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.18, allocations: 196.2 kB / 0.6593 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.1801, allocations: 39.45 kB / 0.6594 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.1801, allocations: 33.62 kB / 0.6594 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1803, allocations: 346.8 kB / 0.6597 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1804, allocations: 56.83 kB / 0.6598 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.1806, allocations: 84.67 kB / 0.6599 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.1808, allocations: 125.5 kB / 0.66 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1808, allocations: 7.938 kB / 0.66 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003442/0.1812, allocations: 169.2 kB / 0.6601 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1812, allocations: 7.938 kB / 0.6602 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1812, allocations: 0 / 0.6602 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1812, allocations: 7.984 kB / 0.6602 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.1814, allocations: 27.92 kB / 0.6602 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1814, allocations: 4 kB / 0.6602 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.1816, allocations: 19.92 kB / 0.6602 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.1816, allocations: 4 kB / 0.6602 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002025/0.1818, allocations: 160.1 kB / 0.6604 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000144/0.182, allocations: 88.41 kB / 0.6605 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000237/0.1822, allocations: 117.6 kB / 0.6606 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.1822, allocations: 4 kB / 0.6606 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003348/0.1826, allocations: 173.1 kB / 0.6607 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.263e-06/0.1826, allocations: 6.219 kB / 0.6607 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/0.1826, allocations: 4 kB / 0.6607 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-06/0.1826, allocations: 7.875 kB / 0.6608 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1827, allocations: 27.97 kB / 0.6608 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/0.1827, allocations: 0 / 0.6608 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.1829, allocations: 19.98 kB / 0.6608 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1829, allocations: 4 kB / 0.6608 GB, free: 6.5 MB / 0.4981 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 0.0001096/0.183, allocations: 192.9 kB / 0.661 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.1831, allocations: 39.47 kB / 0.661 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004415/0.1835, allocations: 220.6 kB / 0.6612 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.1835, allocations: 4 kB / 0.6612 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1836, allocations: 0 / 0.6612 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1836, allocations: 3.984 kB / 0.6612 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.1843, allocations: 0.6333 MB / 0.6619 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1844, allocations: 4 kB / 0.6619 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1845, allocations: 28.08 kB / 0.6619 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1845, allocations: 3.938 kB / 0.6619 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1845, allocations: 8 kB / 0.6619 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1845, allocations: 0 / 0.6619 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1845, allocations: 128 / 0.6619 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.1849, allocations: 329.4 kB / 0.6622 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.185, allocations: 120.7 kB / 0.6623 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1851, allocations: 4 kB / 0.6623 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1853, allocations: 11.98 kB / 0.6623 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1853, allocations: 15.92 kB / 0.6624 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.1853, allocations: 4 kB / 0.6624 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002171/0.1856, allocations: 255.1 kB / 0.6626 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1856, allocations: 4 kB / 0.6626 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005144/0.1861, allocations: 195.5 kB / 0.6628 GB, free: 4.336 MB / 0.4981 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.0004627/0.1866, allocations: 237.4 kB / 0.663 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.187, allocations: 203.6 kB / 0.6632 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1871, allocations: 0 / 0.6632 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1872, allocations: 79.89 kB / 0.6633 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.188, allocations: 145.1 kB / 0.6634 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007236/0.1887, allocations: 0.5438 MB / 0.664 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.189, allocations: 0.7957 MB / 0.6647 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.1892, allocations: 75.25 kB / 0.6648 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.1893, allocations: 27.44 kB / 0.6648 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1893, allocations: 0 / 0.6648 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.01067/0.2, allocations: 6.604 MB / 0.6713 GB, free: 11.68 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)