Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008212, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009217/0.0009218, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 223.3 MB / 240 MB, free: 5.406 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.8852/0.8852, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002681/0.0002681, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1291, allocations: 83.41 MB / 0.5972 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.3986/0.5277, allocations: 219 MB / 0.8111 GB, free: 1.469 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009143/0.5369, allocations: 6.824 MB / 0.8177 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000674/0.5376, allocations: 43.69 kB / 0.8178 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.5388, allocations: 472.9 kB / 0.8182 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.5418, allocations: 1.537 MB / 0.8197 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003157/0.545, allocations: 1.444 MB / 0.8211 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003342/0.5483, allocations: 3.773 MB / 0.8248 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.5492, allocations: 0.8144 MB / 0.8256 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.5515, allocations: 1.431 MB / 0.827 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009663/0.5525, allocations: 0.9065 MB / 0.8279 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.755e-05/0.5526, allocations: 52 kB / 0.828 GB, free: 148 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.555, allocations: 1.387 MB / 0.8293 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.5553, allocations: 382.7 kB / 0.8297 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.5556, allocations: 285.1 kB / 0.8299 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.5572, allocations: 1.89 MB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5572, allocations: 0 / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5572, allocations: 4 kB / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5573, allocations: 0 / 0.8318 GB, free: 12.2 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002015/0.5593, allocations: 1.483 MB / 0.8332 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.5593, allocations: 12.03 kB / 0.8333 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.5615, allocations: 418 kB / 0.8337 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.5628, allocations: 0.9256 MB / 0.8346 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5629, allocations: 66 kB / 0.8346 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.563, allocations: 88.8 kB / 0.8347 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5643, allocations: 0.8701 MB / 0.8356 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.5643, allocations: 0 / 0.8356 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.5644, allocations: 35.94 kB / 0.8356 GB, free: 8.211 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.5644, allocations: 30 kB / 0.8356 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5657, allocations: 0.8198 MB / 0.8364 GB, free: 7.359 MB / 0.6544 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.003793/0.5695, allocations: 3.658 MB / 0.84 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.5708, allocations: 1.096 MB / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.5714, allocations: 381.4 kB / 0.8414 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/0.572, allocations: 428.8 kB / 0.8418 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.572, allocations: 42.81 kB / 0.8419 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 1.704e-06/0.572, allocations: 4 kB / 0.8419 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001719/0.5738, allocations: 0.9857 MB / 0.8428 GB, free: 304 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.5738, allocations: 55.97 kB / 0.8429 GB, free: 236 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.5747, allocations: 0.8282 MB / 0.8437 GB, free: 15.38 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.5748, allocations: 41.7 kB / 0.8437 GB, free: 15.33 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.5751, allocations: 480.2 kB / 0.8442 GB, free: 14.86 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5753, allocations: 208.9 kB / 0.8444 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.5753, allocations: 12 kB / 0.8444 GB, free: 14.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.5755, allocations: 330 kB / 0.8447 GB, free: 14.31 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.576, allocations: 257 kB / 0.845 GB, free: 14.06 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.5765, allocations: 371.4 kB / 0.8453 GB, free: 13.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.577, allocations: 302.1 kB / 0.8456 GB, free: 13.37 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.577, allocations: 0 / 0.8456 GB, free: 13.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001155/0.5781, allocations: 0.7476 MB / 0.8463 GB, free: 12.61 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.5782, allocations: 122.8 kB / 0.8465 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5782, allocations: 4 kB / 0.8465 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5783, allocations: 4 kB / 0.8465 GB, free: 12.47 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.5788, allocations: 131.8 kB / 0.8466 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5788, allocations: 8 kB / 0.8466 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007461/0.5795, allocations: 131.9 kB / 0.8467 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.5796, allocations: 27.98 kB / 0.8468 GB, free: 12.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.5796, allocations: 4.625 kB / 0.8468 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/0.5806, allocations: 0.6222 MB / 0.8474 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.5806, allocations: 0 / 0.8474 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.5807, allocations: 7.938 kB / 0.8474 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.5811, allocations: 139.9 kB / 0.8475 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.5812, allocations: 3.953 kB / 0.8475 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.5818, allocations: 131.4 kB / 0.8476 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.5819, allocations: 20 kB / 0.8477 GB, free: 11.25 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000402/0.5823, allocations: 385 kB / 0.848 GB, free: 10.86 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5824, allocations: 102.7 kB / 0.8481 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.5837, allocations: 0.7658 MB / 0.8489 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.5837, allocations: 4 kB / 0.8489 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5837, allocations: 7.953 kB / 0.8489 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.5848, allocations: 0.9229 MB / 0.8498 GB, free: 8.977 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.5876, allocations: 2.263 MB / 0.852 GB, free: 6.574 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.5876, allocations: 4 kB / 0.852 GB, free: 6.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.5882, allocations: 144.2 kB / 0.8521 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.5882, allocations: 4 kB / 0.8521 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.5883, allocations: 20 kB / 0.8522 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.5883, allocations: 8 kB / 0.8522 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5883, allocations: 4 kB / 0.8522 GB, free: 6.395 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.5899, allocations: 1.256 MB / 0.8534 GB, free: 5.082 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.5902, allocations: 259.7 kB / 0.8536 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.5904, allocations: 16 kB / 0.8537 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.591, allocations: 99.75 kB / 0.8538 GB, free: 4.695 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.5911, allocations: 56.33 kB / 0.8538 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5912, allocations: 20 kB / 0.8538 GB, free: 4.621 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006442/0.5918, allocations: 0.5744 MB / 0.8544 GB, free: 4.035 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5918, allocations: 4 kB / 0.8544 GB, free: 4.031 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001043/0.5929, allocations: 0.5299 MB / 0.8549 GB, free: 3.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004116/0.5933, allocations: 257.6 kB / 0.8552 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.5948, allocations: 0.9704 MB / 0.8561 GB, free: 2.277 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5948, allocations: 0 / 0.8561 GB, free: 2.277 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.5953, allocations: 347.2 kB / 0.8564 GB, free: 1.941 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.5977, allocations: 0.6197 MB / 0.857 GB, free: 1.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2147/0.8123, allocations: 2.637 MB / 0.8596 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.8128, allocations: 1.132 MB / 0.8607 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001019/0.8138, allocations: 295.3 kB / 0.861 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.814, allocations: 76.97 kB / 0.8611 GB, free: 208.2 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.814, allocations: 0 / 0.8611 GB, free: 208.2 MB / 0.67 GB Notification: Performance of Templates: time 0.02288/0.8369, allocations: 19.13 MB / 0.8797 GB, free: 207.3 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)