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.001616/0.001616, allocations: 117.3 kB / 17.09 MB, free: 6.012 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.00205/0.00205, allocations: 195 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.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7366/0.7366, allocations: 115.3 MB / 407.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1414, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01681/0.1582, allocations: 15.02 MB / 0.6474 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.1639, allocations: 3.899 MB / 0.6512 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.1646, allocations: 15.94 kB / 0.6512 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.1653, allocations: 186.7 kB / 0.6514 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.1672, allocations: 0.6802 MB / 0.6521 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1684, allocations: 480.2 kB / 0.6525 GB, free: 88 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.1698, allocations: 1.089 MB / 0.6536 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.1703, allocations: 281.5 kB / 0.6538 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006952/0.171, allocations: 414.4 kB / 0.6542 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004137/0.1714, allocations: 270.8 kB / 0.6545 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.1715, allocations: 23.94 kB / 0.6545 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1728, allocations: 0.7134 MB / 0.6552 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1729, allocations: 75.67 kB / 0.6553 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1731, allocations: 179 kB / 0.6555 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1741, allocations: 0.7206 MB / 0.6562 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1742, allocations: 0 / 0.6562 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1742, allocations: 4 kB / 0.6562 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.1742, allocations: 0 / 0.6562 GB, free: 12.33 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.001153/0.1753, allocations: 0.7512 MB / 0.6569 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1754, allocations: 12.03 kB / 0.6569 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.1755, allocations: 40.47 kB / 0.6569 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1765, allocations: 0.5212 MB / 0.6575 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1766, allocations: 12.33 kB / 0.6575 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.1766, allocations: 20 kB / 0.6575 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.177, allocations: 176.2 kB / 0.6577 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.177, allocations: 0 / 0.6577 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.177, allocations: 4 kB / 0.6577 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.177, allocations: 8 kB / 0.6577 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003442/0.1774, allocations: 140.2 kB / 0.6578 GB, free: 10.55 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.001152/0.1786, allocations: 0.8566 MB / 0.6586 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1788, allocations: 122.6 kB / 0.6588 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.179, allocations: 68.81 kB / 0.6588 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.1793, allocations: 340.4 kB / 0.6591 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1794, allocations: 38.5 kB / 0.6592 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.1794, allocations: 4 kB / 0.6592 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005763/0.1799, allocations: 213.2 kB / 0.6594 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.18, allocations: 51.41 kB / 0.6594 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1803, allocations: 345.7 kB / 0.6598 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.1804, allocations: 33.7 kB / 0.6598 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1805, allocations: 196.2 kB / 0.66 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.1806, allocations: 43.45 kB / 0.66 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.1806, allocations: 37.61 kB / 0.6601 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1808, allocations: 338.8 kB / 0.6604 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.1809, allocations: 52.81 kB / 0.6604 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1811, allocations: 96.19 kB / 0.6605 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1814, allocations: 113.6 kB / 0.6606 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1814, allocations: 0 / 0.6606 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003789/0.1818, allocations: 185 kB / 0.6608 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1818, allocations: 7.938 kB / 0.6608 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1818, allocations: 0 / 0.6608 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1818, allocations: 8 kB / 0.6608 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.182, allocations: 23.98 kB / 0.6609 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.182, allocations: 0 / 0.6609 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.1822, allocations: 19.92 kB / 0.6609 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1822, allocations: 7.984 kB / 0.6609 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002139/0.1824, allocations: 156.1 kB / 0.661 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001543/0.1826, allocations: 84.91 kB / 0.6611 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002468/0.1829, allocations: 113.6 kB / 0.6612 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.153e-06/0.1829, allocations: 0 / 0.6612 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003451/0.1832, allocations: 169.1 kB / 0.6614 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.1832, allocations: 11.94 kB / 0.6614 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.1832, allocations: 7.984 kB / 0.6614 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.1833, allocations: 3.938 kB / 0.6614 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1834, allocations: 31.92 kB / 0.6614 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.1834, allocations: 128 / 0.6614 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.1836, allocations: 15.98 kB / 0.6614 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1836, allocations: 8 kB / 0.6615 GB, free: 6.496 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.0001087/0.1837, allocations: 188.3 kB / 0.6616 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.1838, allocations: 39.47 kB / 0.6617 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.1843, allocations: 236.9 kB / 0.6619 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.1843, allocations: 3.984 kB / 0.6619 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1843, allocations: 0 / 0.6619 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1843, allocations: 0 / 0.6619 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/0.1852, allocations: 0.6335 MB / 0.6625 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1852, allocations: 0 / 0.6625 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1853, allocations: 27.92 kB / 0.6625 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1853, allocations: 0 / 0.6625 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1853, allocations: 4 kB / 0.6625 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.1853, allocations: 0 / 0.6625 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1854, allocations: 7.984 kB / 0.6626 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.1858, allocations: 324 kB / 0.6629 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1859, allocations: 124.7 kB / 0.663 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.186, allocations: 0 / 0.663 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1862, allocations: 15.98 kB / 0.663 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.1863, allocations: 11.98 kB / 0.663 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1863, allocations: 11.94 kB / 0.663 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002439/0.1865, allocations: 251.2 kB / 0.6633 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1865, allocations: 0 / 0.6633 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005913/0.1871, allocations: 191.5 kB / 0.6634 GB, free: 4.34 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.0005325/0.1877, allocations: 248.6 kB / 0.6637 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005006/0.1882, allocations: 191.8 kB / 0.6639 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1882, allocations: 0 / 0.6639 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1884, allocations: 75.89 kB / 0.6639 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008149/0.1892, allocations: 160.4 kB / 0.6641 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.1901, allocations: 0.5806 MB / 0.6647 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1905, allocations: 0.784 MB / 0.6654 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.1906, allocations: 39.42 kB / 0.6655 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1906, allocations: 0 / 0.6655 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.009289/0.1999, allocations: 5.793 MB / 0.6711 GB, free: 12.48 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)