Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.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.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001632/0.001632, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.8468/0.8468, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 61.28 kB / 0.5963 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1372, allocations: 82.03 MB / 0.6764 GB, free: 10.24 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4): time 0.6651/0.8023, allocations: 358.3 MB / 1.026 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5594/1.362, allocations: 76.16 MB / 1.101 GB, free: 40.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0174/1.379, allocations: 434.8 kB / 1.101 GB, free: 40.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01979/1.399, allocations: 6.503 MB / 1.107 GB, free: 40.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0401/1.439, allocations: 14.35 MB / 1.121 GB, free: 39.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02485/1.464, allocations: 9.835 MB / 1.131 GB, free: 39.64 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.09096/1.555, allocations: 71.14 MB / 1.201 GB, free: 17.15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02402/1.579, allocations: 18.63 MB / 1.219 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03675/1.616, allocations: 16.37 MB / 1.235 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02931/1.645, allocations: 15.15 MB / 1.249 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.007581/1.653, allocations: 1.758 MB / 1.251 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02155/1.674, allocations: 6.016 MB / 1.257 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01013/1.684, allocations: 5.856 MB / 1.263 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.02332/1.708, allocations: 10.28 MB / 1.273 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.05023/1.758, allocations: 29.81 MB / 1.302 GB, free: 13.65 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.758, allocations: 4 kB / 1.302 GB, free: 13.65 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/1.758, allocations: 0 / 1.302 GB, free: 13.65 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009215/1.759, allocations: 0 / 1.302 GB, free: 13.65 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1791 * Number of variables: 1791 Notification: Performance of Generate backend data structure: time 0.06466/1.824, allocations: 21.76 MB / 1.323 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.824, allocations: 8.031 kB / 1.323 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01882/1.843, allocations: 3.198 MB / 1.326 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0445/1.887, allocations: 19.38 MB / 1.345 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007733/1.888, allocations: 0.5945 MB / 1.346 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00458/1.893, allocations: 0.7957 MB / 1.347 GB, free: 224 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/1.932, allocations: 15.56 MB / 1.362 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003169/1.932, allocations: 11.88 kB / 1.362 GB, free: 424 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003313/1.936, allocations: 302.9 kB / 1.362 GB, free: 124 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/1.936, allocations: 188 kB / 1.362 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04014/1.976, allocations: 19.96 MB / 1.382 GB, free: 11.96 MB / 0.9981 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.8219/2.798, allocations: 78.68 MB / 1.459 GB, free: 476.9 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/2.817, allocations: 11.15 MB / 1.469 GB, free: 472.1 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01355/2.831, allocations: 9.358 MB / 1.479 GB, free: 468.2 MB / 1.045 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 evalFunc (simulation): time 0.05428/2.885, allocations: 32.68 MB / 1.511 GB, free: 447.9 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01251/2.898, allocations: 9.346 MB / 1.52 GB, free: 442.3 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01803/2.916, allocations: 5.731 MB / 1.525 GB, free: 440.5 MB / 1.045 GB Notification: Performance of pre-optimization done (n=433): time 3.013e-05/2.916, allocations: 0 / 1.525 GB, free: 440.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=617): time 0.8057/3.722, allocations: 182.9 MB / 1.704 GB, free: 264.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/3.722, allocations: 123.7 kB / 1.704 GB, free: 264.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02394/3.746, allocations: 16.41 MB / 1.72 GB, free: 248.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003274/3.749, allocations: 181.7 kB / 1.72 GB, free: 247.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007236/3.756, allocations: 7.144 MB / 1.727 GB, free: 240.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004646/3.761, allocations: 2.108 MB / 1.729 GB, free: 238.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01126/3.772, allocations: 2.925 MB / 1.732 GB, free: 235.7 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/3.772, allocations: 313 kB / 1.732 GB, free: 235.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01855/3.791, allocations: 11.45 MB / 1.744 GB, free: 223.9 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02157/3.813, allocations: 14.09 MB / 1.757 GB, free: 208.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04036/3.853, allocations: 24.76 MB / 1.782 GB, free: 183.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.198e-05/3.853, allocations: 16 kB / 1.782 GB, free: 183.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.5775/4.431, allocations: 115.8 MB / 1.895 GB, free: 67.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/4.431, allocations: 61.64 kB / 1.895 GB, free: 67.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.845e-05/4.431, allocations: 52 kB / 1.895 GB, free: 67.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9539/5.385, allocations: 117.9 MB / 2.01 GB, free: 446.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/5.397, allocations: 2.313 MB / 2.012 GB, free: 446 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1374/5.534, allocations: 81.86 MB / 2.092 GB, free: 384.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01684/5.551, allocations: 0.9572 MB / 2.093 GB, free: 383.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003162/5.554, allocations: 0.8114 MB / 2.094 GB, free: 383.1 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02295/5.577, allocations: 14.3 MB / 2.108 GB, free: 368.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01975/5.597, allocations: 13.59 MB / 2.121 GB, free: 354.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03556/5.632, allocations: 23.74 MB / 2.144 GB, free: 329.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.529e-05/5.632, allocations: 16 kB / 2.144 GB, free: 329.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=1297) (initialization_lambda0): time 0.5601/6.193, allocations: 114.2 MB / 2.256 GB, free: 216.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/6.193, allocations: 53.7 kB / 2.256 GB, free: 216.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.404e-05/6.193, allocations: 55.98 kB / 2.256 GB, free: 216.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5879/6.781, allocations: 117.6 MB / 2.371 GB, free: 98.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/6.791, allocations: 2.293 MB / 2.373 GB, free: 96.36 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/6.932, allocations: 86.07 MB / 2.457 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3596/7.292, allocations: 0.9888 MB / 2.458 GB, free: 432.9 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004858/7.297, allocations: 0.7783 MB / 2.459 GB, free: 432.9 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (909): * Single equations (assignments): 891 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004302/7.301, allocations: 0.6745 MB / 2.459 GB, free: 432.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005314/7.307, allocations: 1.444 MB / 2.461 GB, free: 432.8 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2052/7.512, allocations: 49.08 MB / 2.509 GB, free: 429.3 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1794/7.691, allocations: 43.28 MB / 2.551 GB, free: 419.4 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.981e-05/7.691, allocations: 0.5469 kB / 2.551 GB, free: 419.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009183/7.701, allocations: 3 MB / 2.554 GB, free: 418.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004624/7.705, allocations: 129.3 kB / 2.554 GB, free: 418.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/7.719, allocations: 0.7579 MB / 2.555 GB, free: 417.7 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005617/7.724, allocations: 0.8964 MB / 2.556 GB, free: 417.2 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06168/7.786, allocations: 23.56 MB / 2.579 GB, free: 400.2 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04582/7.832, allocations: 26.6 MB / 2.605 GB, free: 373.8 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01306/7.845, allocations: 8.251 MB / 2.613 GB, free: 365.6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01612/7.861, allocations: 11.19 MB / 2.624 GB, free: 354.5 MB / 1.045 GB Notification: Performance of Backend: time 1.122e-06/7.861, allocations: 0 / 2.624 GB, free: 354.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.08093/7.942, allocations: 35.71 MB / 2.659 GB, free: 319.1 MB / 1.045 GB Notification: Performance of SimCode: time 0.06518/8.007, allocations: 35.34 MB / 2.693 GB, free: 284 MB / 1.045 GB Notification: Performance of Templates: time 0.8904/8.898, allocations: 483.5 MB / 3.165 GB, free: 301.1 MB / 1.045 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified4.pipe 2>&1)