Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 114 kB / 17.08 MB, free: 5.965 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.001254/0.001254, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7136/0.7136, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.47 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1322, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06327/0.1955, allocations: 72.71 MB / 0.7037 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02494/0.2205, allocations: 18.82 MB / 0.7221 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.2238, allocations: 95.44 kB / 0.7222 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004901/0.2287, allocations: 1.814 MB / 0.724 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.2353, allocations: 2.517 MB / 0.7264 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.2403, allocations: 2.158 MB / 0.7285 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01337/0.2537, allocations: 10.95 MB / 0.7392 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008079/0.2618, allocations: 6.164 MB / 0.7453 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3223/0.5841, allocations: 3.349 MB / 0.7485 GB, free: 19.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005315/0.5895, allocations: 2.569 MB / 0.751 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.5907, allocations: 265.9 kB / 0.7513 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.5958, allocations: 1.555 MB / 0.7528 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.5974, allocations: 0.9103 MB / 0.7537 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003507/0.6009, allocations: 1.954 MB / 0.7556 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009778/0.6107, allocations: 5.352 MB / 0.7608 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.6107, allocations: 0.5312 kB / 0.7608 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6108, allocations: 1.844 kB / 0.7608 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002023/0.611, allocations: 0 / 0.7608 GB, free: 18.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01155/0.6225, allocations: 4.368 MB / 0.7651 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6226, allocations: 13.84 kB / 0.7651 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.626, allocations: 0.6768 MB / 0.7658 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007651/0.6337, allocations: 3.8 MB / 0.7695 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.6339, allocations: 140.3 kB / 0.7696 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005078/0.6344, allocations: 191.8 kB / 0.7698 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/0.6381, allocations: 2.356 MB / 0.7721 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.6382, allocations: 5.781 kB / 0.7721 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.6383, allocations: 70.03 kB / 0.7722 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.6384, allocations: 41.66 kB / 0.7722 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/0.6417, allocations: 1.906 MB / 0.7741 GB, free: 14.89 MB / 0.5762 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.01383/0.6555, allocations: 11.49 MB / 0.7853 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/0.6581, allocations: 1.351 MB / 0.7866 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.6596, allocations: 1.014 MB / 0.7876 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00586/0.6654, allocations: 3.719 MB / 0.7912 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.6667, allocations: 0.78 MB / 0.792 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001397/0.6681, allocations: 242.4 kB / 0.7922 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=94): time 4.749e-06/0.6682, allocations: 0 / 0.7922 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94): time 0.01049/0.6787, allocations: 4.229 MB / 0.7964 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.6787, allocations: 62.91 kB / 0.7964 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.6829, allocations: 3.472 MB / 0.7998 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.6831, allocations: 63.06 kB / 0.7999 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.6842, allocations: 1.563 MB / 0.8014 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.6844, allocations: 342.6 kB / 0.8017 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005559/0.685, allocations: 460.1 kB / 0.8022 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.685, allocations: 305.1 kB / 0.8025 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.6864, allocations: 0.87 MB / 0.8033 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.688, allocations: 1.671 MB / 0.8049 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.6908, allocations: 2.268 MB / 0.8072 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.6908, allocations: 6.906 kB / 0.8072 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006235/0.6971, allocations: 3.331 MB / 0.8104 GB, free: 460 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.6971, allocations: 41.77 kB / 0.8105 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.6972, allocations: 15.31 kB / 0.8105 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.6993, allocations: 0.6958 MB / 0.8111 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/0.7008, allocations: 349.2 kB / 0.8115 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.7026, allocations: 1.909 MB / 0.8133 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.7055, allocations: 128.3 kB / 0.8135 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003096/0.7059, allocations: 91.95 kB / 0.8136 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003096/0.709, allocations: 1.595 MB / 0.8151 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001967/0.711, allocations: 1.64 MB / 0.8167 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003106/0.7141, allocations: 2.201 MB / 0.8189 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.133e-05/0.7142, allocations: 4 kB / 0.8189 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.005856/0.72, allocations: 3.218 MB / 0.822 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.7201, allocations: 50.72 kB / 0.8221 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.7201, allocations: 16 kB / 0.8221 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008741/0.721, allocations: 472.9 kB / 0.8225 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.7224, allocations: 348.4 kB / 0.8229 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/0.7291, allocations: 6.332 MB / 0.829 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/0.7321, allocations: 144.8 kB / 0.8292 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/0.7325, allocations: 91.95 kB / 0.8293 GB, free: 13.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005432/0.733, allocations: 293.9 kB / 0.8295 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008927/0.7339, allocations: 328.6 kB / 0.8299 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/0.7389, allocations: 2.465 MB / 0.8323 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.739, allocations: 12 kB / 0.8323 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.739, allocations: 0 / 0.8323 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00326/0.7422, allocations: 2.076 MB / 0.8343 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/0.7509, allocations: 4.579 MB / 0.8388 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/0.7509, allocations: 3 kB / 0.8388 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.7518, allocations: 170 kB / 0.8389 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/0.7528, allocations: 481.1 kB / 0.8394 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.862e-05/0.7529, allocations: 31.97 kB / 0.8394 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.7544, allocations: 1.855 MB / 0.8412 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7544, allocations: 3.984 kB / 0.8412 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/0.7602, allocations: 3.178 MB / 0.8443 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.7618, allocations: 0.5318 MB / 0.8449 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/0.7624, allocations: 23.94 kB / 0.8449 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.7638, allocations: 91.11 kB / 0.845 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.7639, allocations: 72.89 kB / 0.845 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/0.764, allocations: 44.72 kB / 0.8451 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003574/0.7676, allocations: 2.355 MB / 0.8474 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7677, allocations: 0 / 0.8474 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004439/0.7721, allocations: 1.509 MB / 0.8489 GB, free: 9.113 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.7735, allocations: 0.591 MB / 0.8494 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006188/0.7797, allocations: 3.716 MB / 0.8531 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7798, allocations: 4.062 kB / 0.8531 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.7812, allocations: 0.8042 MB / 0.8539 GB, free: 4.125 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00593/0.7872, allocations: 1.453 MB / 0.8553 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.7984, allocations: 6.045 MB / 0.8612 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.8002, allocations: 2.233 MB / 0.8634 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/0.8011, allocations: 262 kB / 0.8636 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of SimCode: time 9.42e-07/0.8011, allocations: 0 / 0.8636 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of Templates: time 0.107/0.9081, allocations: 85.21 MB / 0.9468 GB, free: 5.402 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)