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.007079/0.007079, allocations: 100.1 kB / 15.73 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.001618/0.001618, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.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.9815/0.9815, allocations: 143 MB / 433.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 0.5955 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3793, allocations: 82.03 MB / 0.6756 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.1023/0.4816, allocations: 115.2 MB / 0.7881 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03781/0.5195, allocations: 26.6 MB / 0.8141 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.5236, allocations: 115.4 kB / 0.8142 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.527, allocations: 1.149 MB / 0.8153 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008526/0.5355, allocations: 3.424 MB / 0.8186 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005681/0.5412, allocations: 2.355 MB / 0.8209 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007631/0.5489, allocations: 6.195 MB / 0.827 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/0.5518, allocations: 1.921 MB / 0.8289 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005573/0.5574, allocations: 2.691 MB / 0.8315 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.5604, allocations: 1.766 MB / 0.8332 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.5609, allocations: 220 kB / 0.8334 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005692/0.5667, allocations: 2.344 MB / 0.8357 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008299/0.5675, allocations: 0.5409 MB / 0.8362 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002357/0.5699, allocations: 1.287 MB / 0.8375 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008909/0.5788, allocations: 4.275 MB / 0.8417 GB, free: 11.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5788, allocations: 3.938 kB / 0.8417 GB, free: 11.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5788, allocations: 4 kB / 0.8417 GB, free: 11.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.993e-05/0.5789, allocations: 0 / 0.8417 GB, free: 11.93 MB / 0.67 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.006801/0.5857, allocations: 2.838 MB / 0.8445 GB, free: 9.027 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5858, allocations: 12.02 kB / 0.8445 GB, free: 9.016 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.5866, allocations: 261 kB / 0.8447 GB, free: 8.758 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.591, allocations: 2.153 MB / 0.8468 GB, free: 6.555 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.96e-05/0.5911, allocations: 102.7 kB / 0.8469 GB, free: 6.453 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.5914, allocations: 136 kB / 0.847 GB, free: 6.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.594, allocations: 1.461 MB / 0.8485 GB, free: 4.781 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.5941, allocations: 7.906 kB / 0.8485 GB, free: 4.773 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.5942, allocations: 56 kB / 0.8485 GB, free: 4.719 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.5942, allocations: 36 kB / 0.8486 GB, free: 4.684 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.5962, allocations: 1.021 MB / 0.8496 GB, free: 3.656 MB / 0.67 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.008612/0.6048, allocations: 8.148 MB / 0.8575 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.6062, allocations: 0.8411 MB / 0.8583 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.6068, allocations: 381.5 kB / 0.8587 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.6088, allocations: 2.795 MB / 0.8614 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6089, allocations: 51.16 kB / 0.8615 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.886e-06/0.6089, allocations: 0 / 0.8615 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.002173/0.6111, allocations: 1.128 MB / 0.8626 GB, free: 4.945 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.6111, allocations: 64 kB / 0.8626 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.6132, allocations: 1.617 MB / 0.8642 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.371e-05/0.6133, allocations: 45.64 kB / 0.8643 GB, free: 3.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.6139, allocations: 0.9355 MB / 0.8652 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.6142, allocations: 303.5 kB / 0.8655 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.6145, allocations: 226.7 kB / 0.8657 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6146, allocations: 353.9 kB / 0.866 GB, free: 1.332 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.6152, allocations: 329.9 kB / 0.8663 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.6161, allocations: 0.7072 MB / 0.867 GB, free: 132 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3332/0.9493, allocations: 1.08 MB / 0.8681 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.9493, allocations: 3.094 kB / 0.8681 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002692/0.952, allocations: 1.249 MB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.9521, allocations: 10.44 kB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.362e-05/0.9521, allocations: 17.27 kB / 0.8693 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/0.9522, allocations: 21.56 kB / 0.8694 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.9531, allocations: 260.5 kB / 0.8696 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.434e-05/0.9531, allocations: 27.89 kB / 0.8696 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.9544, allocations: 133.1 kB / 0.8698 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.9546, allocations: 63.53 kB / 0.8698 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/0.9557, allocations: 0.6209 MB / 0.8704 GB, free: 179 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008063/0.9565, allocations: 0.7069 MB / 0.8711 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001425/0.958, allocations: 1.082 MB / 0.8722 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.031e-05/0.958, allocations: 4.219 kB / 0.8722 GB, free: 177.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.002697/0.9607, allocations: 1.239 MB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.9607, allocations: 10.73 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/0.9608, allocations: 20.5 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.9608, allocations: 17.25 kB / 0.8734 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009447/0.9618, allocations: 260.7 kB / 0.8737 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.812e-05/0.9618, allocations: 29.31 kB / 0.8737 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.9631, allocations: 101.7 kB / 0.8738 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.9633, allocations: 68.38 kB / 0.8739 GB, free: 177.1 MB / 0.6856 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.0003933/0.9637, allocations: 254.1 kB / 0.8741 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.9641, allocations: 191.7 kB / 0.8743 GB, free: 176.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/0.9679, allocations: 1.74 MB / 0.876 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/0.968, allocations: 22.05 kB / 0.876 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.968, allocations: 3.734 kB / 0.876 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/0.9701, allocations: 1.143 MB / 0.8771 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006493/0.9767, allocations: 3.499 MB / 0.8806 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.258e-05/0.9767, allocations: 13.48 kB / 0.8806 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/0.9775, allocations: 201.5 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.201e-05/0.9776, allocations: 11.06 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.796e-05/0.9777, allocations: 39.41 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.459e-05/0.9777, allocations: 19.14 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.397e-05/0.9777, allocations: 8.156 kB / 0.8808 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.9822, allocations: 2.24 MB / 0.883 GB, free: 172.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9833, allocations: 438.9 kB / 0.8834 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.9836, allocations: 28.38 kB / 0.8835 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009828/0.9845, allocations: 54.12 kB / 0.8835 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.9848, allocations: 130 kB / 0.8836 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.9849, allocations: 56.38 kB / 0.8837 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001715/0.9866, allocations: 1.089 MB / 0.8848 GB, free: 172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9867, allocations: 0 / 0.8848 GB, free: 172 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003264/0.9899, allocations: 1.127 MB / 0.8859 GB, free: 171.8 MB / 0.6856 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.001502/0.9914, allocations: 0.8171 MB / 0.8867 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003138/0.9946, allocations: 1.81 MB / 0.8884 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.9946, allocations: 7.844 kB / 0.8884 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009854/0.9956, allocations: 0.8234 MB / 0.8892 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/0.9994, allocations: 0.9578 MB / 0.8902 GB, free: 170 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/1.004, allocations: 3.564 MB / 0.8937 GB, free: 167.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006544/1.004, allocations: 1.437 MB / 0.8951 GB, free: 166.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001466/1.006, allocations: 0.546 MB / 0.8956 GB, free: 166.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/1.006, allocations: 194.3 kB / 0.8958 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of SimCode: time 9.01e-07/1.006, allocations: 0 / 0.8958 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of Templates: time 0.05741/1.064, allocations: 44.07 MB / 0.9388 GB, free: 124.6 MB / 0.6856 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)