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.001313/0.001313, allocations: 118.5 kB / 17.1 MB, free: 6.008 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.001274/0.001274, allocations: 189.6 kB / 18.02 MB, free: 5.094 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.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7264/0.7264, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.33 kB / 0.5583 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1428, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01719/0.16, allocations: 15.04 MB / 0.6474 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005512/0.1655, allocations: 3.887 MB / 0.6512 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.1662, allocations: 15.94 kB / 0.6512 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1669, allocations: 186.7 kB / 0.6514 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.1688, allocations: 0.688 MB / 0.6521 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1701, allocations: 470.2 kB / 0.6525 GB, free: 44 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.1718, allocations: 1.087 MB / 0.6536 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000526/0.1724, allocations: 289.5 kB / 0.6539 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008049/0.1732, allocations: 414.4 kB / 0.6542 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.1737, allocations: 266.8 kB / 0.6545 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/0.1737, allocations: 20 kB / 0.6545 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.175, allocations: 0.7095 MB / 0.6552 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1752, allocations: 83.61 kB / 0.6553 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.1755, allocations: 187 kB / 0.6555 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.1769, allocations: 0.7167 MB / 0.6562 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1769, allocations: 0 / 0.6562 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1769, allocations: 0 / 0.6562 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.1769, allocations: 0 / 0.6562 GB, free: 12.28 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.001622/0.1786, allocations: 0.7435 MB / 0.6569 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1786, allocations: 12.03 kB / 0.6569 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.1788, allocations: 48.45 kB / 0.657 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1798, allocations: 0.5095 MB / 0.6575 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1799, allocations: 12.33 kB / 0.6575 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.1799, allocations: 20 kB / 0.6575 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.1804, allocations: 184.2 kB / 0.6577 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1804, allocations: 0 / 0.6577 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1804, allocations: 4 kB / 0.6577 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1804, allocations: 4 kB / 0.6577 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.1808, allocations: 136.2 kB / 0.6578 GB, free: 10.52 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.001458/0.1823, allocations: 0.8644 MB / 0.6586 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1826, allocations: 118.6 kB / 0.6588 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.1828, allocations: 72.81 kB / 0.6588 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/0.1832, allocations: 340.4 kB / 0.6591 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.1832, allocations: 30.56 kB / 0.6592 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.504e-06/0.1832, allocations: 0 / 0.6592 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006894/0.1839, allocations: 221.4 kB / 0.6594 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.184, allocations: 55.41 kB / 0.6594 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.1845, allocations: 345.7 kB / 0.6598 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.1845, allocations: 37.64 kB / 0.6598 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1847, allocations: 192.2 kB / 0.66 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.1847, allocations: 39.45 kB / 0.66 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.1848, allocations: 37.61 kB / 0.6601 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.185, allocations: 346.8 kB / 0.6604 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1851, allocations: 44.83 kB / 0.6604 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.1853, allocations: 100.2 kB / 0.6605 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.1856, allocations: 117.6 kB / 0.6606 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1856, allocations: 0 / 0.6606 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004129/0.186, allocations: 185.1 kB / 0.6608 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1861, allocations: 4 kB / 0.6608 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1861, allocations: 3.938 kB / 0.6608 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.1861, allocations: 4 kB / 0.6608 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1863, allocations: 19.98 kB / 0.6609 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.1863, allocations: 4 kB / 0.6609 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1865, allocations: 23.91 kB / 0.6609 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.1865, allocations: 4 kB / 0.6609 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000231/0.1868, allocations: 160.1 kB / 0.661 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001759/0.187, allocations: 80.25 kB / 0.6611 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002646/0.1872, allocations: 121.6 kB / 0.6612 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.1873, allocations: 0 / 0.6612 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003779/0.1876, allocations: 177.1 kB / 0.6614 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1877, allocations: 4 kB / 0.6614 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.1877, allocations: 4 kB / 0.6614 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/0.1877, allocations: 3.938 kB / 0.6614 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1878, allocations: 27.92 kB / 0.6614 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.1878, allocations: 0 / 0.6614 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.188, allocations: 19.97 kB / 0.6615 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.188, allocations: 8 kB / 0.6615 GB, free: 6.449 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.0001286/0.1882, allocations: 188.3 kB / 0.6616 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.1882, allocations: 35.53 kB / 0.6617 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.1887, allocations: 234.9 kB / 0.6619 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1887, allocations: 0 / 0.6619 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1888, allocations: 4.125 kB / 0.6619 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.1889, allocations: 120.7 kB / 0.662 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.1889, allocations: 4.094 kB / 0.662 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1891, allocations: 23.86 kB / 0.662 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1892, allocations: 7.984 kB / 0.6621 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000421/0.1896, allocations: 268.7 kB / 0.6623 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004568/0.1901, allocations: 378.2 kB / 0.6627 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000174/0.1903, allocations: 71.94 kB / 0.6627 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002578/0.1905, allocations: 243.2 kB / 0.663 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of Backend: time 7.81e-07/0.1905, allocations: 0 / 0.663 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.192, allocations: 412.7 kB / 0.6634 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of SimCode: time 0.001442/0.1935, allocations: 1.085 MB / 0.6644 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of Templates: time 0.01356/0.207, allocations: 7.569 MB / 0.6718 GB, free: 11.85 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)