Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007321/0.007321, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001293/0.001293, allocations: 189.8 kB / 16.67 MB, free: 5.48 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9318/0.9318, allocations: 143 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.14 kB / 0.5955 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1799, allocations: 82.03 MB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4994/0.6793, allocations: 115.2 MB / 0.7881 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03793/0.7173, allocations: 26.59 MB / 0.8141 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007249/0.7246, allocations: 115 kB / 0.8142 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005314/0.73, allocations: 1.156 MB / 0.8153 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.7448, allocations: 3.419 MB / 0.8186 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008122/0.7529, allocations: 2.35 MB / 0.8209 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.7639, allocations: 6.192 MB / 0.827 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.7676, allocations: 1.928 MB / 0.8289 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00778/0.7754, allocations: 2.655 MB / 0.8315 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.7795, allocations: 1.768 MB / 0.8332 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005544/0.78, allocations: 221.4 kB / 0.8334 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006945/0.787, allocations: 2.345 MB / 0.8357 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006897/0.7877, allocations: 0.5328 MB / 0.8362 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.7902, allocations: 1.288 MB / 0.8375 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.8005, allocations: 4.295 MB / 0.8417 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8006, allocations: 0 / 0.8417 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8006, allocations: 4 kB / 0.8417 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.119e-05/0.8007, allocations: 0 / 0.8417 GB, free: 5.297 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006338/0.807, allocations: 2.928 MB / 0.8445 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.8071, allocations: 12.03 kB / 0.8445 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.8079, allocations: 270.3 kB / 0.8448 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.8127, allocations: 2.164 MB / 0.8469 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-05/0.8128, allocations: 102.7 kB / 0.847 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.813, allocations: 140 kB / 0.8471 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.8158, allocations: 1.45 MB / 0.8486 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/0.8159, allocations: 8 kB / 0.8486 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.816, allocations: 63.84 kB / 0.8486 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-05/0.816, allocations: 35.98 kB / 0.8487 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.8179, allocations: 1.029 MB / 0.8497 GB, free: 12.91 MB / 0.6231 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.01016/0.8281, allocations: 8.157 MB / 0.8576 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.8298, allocations: 0.8336 MB / 0.8584 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.8304, allocations: 384.4 kB / 0.8588 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/0.8327, allocations: 2.811 MB / 0.8616 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.8327, allocations: 39.22 kB / 0.8616 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.276e-06/0.8328, allocations: 4 kB / 0.8616 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85): time 0.002776/0.8355, allocations: 1.133 MB / 0.8627 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.8356, allocations: 64 kB / 0.8628 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.8381, allocations: 1.621 MB / 0.8643 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.8383, allocations: 45.69 kB / 0.8644 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007688/0.8391, allocations: 0.9412 MB / 0.8653 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.8394, allocations: 330 kB / 0.8656 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/0.8398, allocations: 226.8 kB / 0.8658 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8399, allocations: 353.9 kB / 0.8662 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.8405, allocations: 325.9 kB / 0.8665 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009906/0.8415, allocations: 0.7111 MB / 0.8672 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8432, allocations: 1.081 MB / 0.8682 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.8432, allocations: 7.938 kB / 0.8682 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002591/0.8458, allocations: 1.262 MB / 0.8695 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/0.8458, allocations: 12 kB / 0.8695 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.025e-05/0.8459, allocations: 19.98 kB / 0.8695 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.585e-05/0.8459, allocations: 16 kB / 0.8695 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/0.8467, allocations: 264.2 kB / 0.8698 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/0.8468, allocations: 27.88 kB / 0.8698 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.8482, allocations: 139 kB / 0.8699 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.8483, allocations: 63.98 kB / 0.87 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/0.8496, allocations: 0.6203 MB / 0.8706 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008983/0.8505, allocations: 0.7033 MB / 0.8713 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001561/0.8521, allocations: 1.081 MB / 0.8723 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.66e-06/0.8521, allocations: 0 / 0.8723 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002666/0.8548, allocations: 1.257 MB / 0.8736 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.8548, allocations: 12.84 kB / 0.8736 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.8548, allocations: 16.55 kB / 0.8736 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.8549, allocations: 16 kB / 0.8736 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.8557, allocations: 263.6 kB / 0.8739 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.8557, allocations: 27.92 kB / 0.8739 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8572, allocations: 95.39 kB / 0.874 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.8574, allocations: 71.91 kB / 0.874 GB, free: 1.797 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0003637/0.8577, allocations: 259.9 kB / 0.8743 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006439/0.8584, allocations: 194.7 kB / 0.8745 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.862, allocations: 1.744 MB / 0.8762 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/0.8621, allocations: 23.97 kB / 0.8762 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8621, allocations: 0 / 0.8762 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/0.8639, allocations: 1.15 MB / 0.8773 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/0.87, allocations: 3.494 MB / 0.8807 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-05/0.87, allocations: 15.98 kB / 0.8808 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007276/0.8708, allocations: 196.3 kB / 0.8809 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/0.8708, allocations: 12 kB / 0.881 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.325e-05/0.8709, allocations: 47.97 kB / 0.881 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.486e-05/0.8709, allocations: 19.88 kB / 0.881 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8709, allocations: 7.938 kB / 0.881 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/0.8745, allocations: 2.243 MB / 0.8832 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/0.8754, allocations: 455.2 kB / 0.8837 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/0.8758, allocations: 28 kB / 0.8837 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/0.8768, allocations: 47.97 kB / 0.8837 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.877, allocations: 116.7 kB / 0.8838 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.8772, allocations: 63.97 kB / 0.8839 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001576/0.8787, allocations: 1.095 MB / 0.885 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8788, allocations: 0 / 0.885 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002889/0.8817, allocations: 1.142 MB / 0.8861 GB, free: 5.125 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.001577/0.8832, allocations: 0.8308 MB / 0.8869 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.8863, allocations: 1.801 MB / 0.8887 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/0.8863, allocations: 4 kB / 0.8887 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.8875, allocations: 0.8254 MB / 0.8895 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004095/0.8916, allocations: 0.962 MB / 0.8904 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.8967, allocations: 3.64 MB / 0.894 GB, free: 12.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009514/0.8977, allocations: 1.436 MB / 0.8954 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001741/0.8994, allocations: 0.5445 MB / 0.8959 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/0.8998, allocations: 187.3 kB / 0.8961 GB, free: 10.71 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/0.8998, allocations: 4 kB / 0.8961 GB, free: 10.71 MB / 0.67 GB Notification: Performance of Templates: time 0.07054/0.9703, allocations: 44.06 MB / 0.9391 GB, free: 15.17 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)