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.001371/0.001371, allocations: 119.2 kB / 17.09 MB, free: 5.988 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.001308/0.001309, allocations: 197.9 kB / 18.02 MB, free: 5.062 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.336/1.336, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7072/0.7072, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 69.66 kB / 0.5583 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1583, allocations: 76.17 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06459/0.223, allocations: 72.71 MB / 0.7037 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02788/0.2509, allocations: 18.82 MB / 0.7221 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004259/0.2552, allocations: 91.5 kB / 0.7222 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/0.2611, allocations: 1.806 MB / 0.724 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007833/0.269, allocations: 2.525 MB / 0.7264 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.2751, allocations: 2.155 MB / 0.7285 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01505/0.2902, allocations: 10.96 MB / 0.7393 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008983/0.2992, allocations: 6.148 MB / 0.7453 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4116/0.7109, allocations: 3.359 MB / 0.7485 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006644/0.7176, allocations: 2.563 MB / 0.751 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.7194, allocations: 266.2 kB / 0.7513 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006425/0.7258, allocations: 1.556 MB / 0.7528 GB, free: 20.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002053/0.7279, allocations: 0.9086 MB / 0.7537 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00454/0.7325, allocations: 1.964 MB / 0.7556 GB, free: 19.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.7442, allocations: 5.349 MB / 0.7608 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.7443, allocations: 2.469 kB / 0.7608 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7443, allocations: 0.5312 kB / 0.7608 GB, free: 18.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002175/0.7445, allocations: 0 / 0.7608 GB, free: 18.77 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.01429/0.7588, allocations: 4.364 MB / 0.7651 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7589, allocations: 9.375 kB / 0.7651 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.7628, allocations: 0.6752 MB / 0.7658 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008856/0.7717, allocations: 3.807 MB / 0.7695 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.7719, allocations: 143.8 kB / 0.7696 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.7725, allocations: 192.4 kB / 0.7698 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.777, allocations: 2.357 MB / 0.7721 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.403e-05/0.7771, allocations: 8.281 kB / 0.7721 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.7773, allocations: 65.34 kB / 0.7722 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.7773, allocations: 42.03 kB / 0.7722 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003734/0.781, allocations: 1.915 MB / 0.7741 GB, free: 15.34 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.0152/0.7963, allocations: 11.48 MB / 0.7853 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/0.7989, allocations: 1.346 MB / 0.7866 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.8005, allocations: 1.02 MB / 0.7876 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/0.807, allocations: 3.717 MB / 0.7912 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.8085, allocations: 0.7714 MB / 0.792 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001677/0.8102, allocations: 244.8 kB / 0.7922 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=94): time 9.858e-06/0.8102, allocations: 0 / 0.7922 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94): time 0.0119/0.8222, allocations: 4.232 MB / 0.7964 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.8222, allocations: 64.5 kB / 0.7964 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007084/0.8293, allocations: 3.476 MB / 0.7998 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.8297, allocations: 54.92 kB / 0.7999 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.8314, allocations: 1.565 MB / 0.8014 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/0.8319, allocations: 340.2 kB / 0.8017 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.833, allocations: 461.5 kB / 0.8022 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.8331, allocations: 307.9 kB / 0.8025 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/0.8347, allocations: 0.8703 MB / 0.8033 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.8367, allocations: 1.678 MB / 0.8049 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.8399, allocations: 2.263 MB / 0.8072 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.8399, allocations: 3.469 kB / 0.8072 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006662/0.8466, allocations: 3.333 MB / 0.8104 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.806e-05/0.8467, allocations: 47.45 kB / 0.8105 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.8467, allocations: 14.69 kB / 0.8105 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.8489, allocations: 0.69 MB / 0.8111 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.8502, allocations: 353.5 kB / 0.8115 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.8522, allocations: 1.917 MB / 0.8134 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.8553, allocations: 120.3 kB / 0.8135 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/0.8556, allocations: 95.95 kB / 0.8136 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003561/0.8592, allocations: 1.588 MB / 0.8151 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002397/0.8616, allocations: 1.641 MB / 0.8167 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003623/0.8653, allocations: 2.203 MB / 0.8189 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.03e-05/0.8653, allocations: 8 kB / 0.8189 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.007333/0.8726, allocations: 3.22 MB / 0.822 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.8727, allocations: 37.7 kB / 0.8221 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.8728, allocations: 16 kB / 0.8221 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.8738, allocations: 477 kB / 0.8225 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.8752, allocations: 356.1 kB / 0.8229 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0073/0.8825, allocations: 6.328 MB / 0.829 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.886, allocations: 144.8 kB / 0.8292 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.8864, allocations: 83.97 kB / 0.8293 GB, free: 13.36 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.0008109/0.8872, allocations: 291.4 kB / 0.8295 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.8885, allocations: 331.7 kB / 0.8299 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.8944, allocations: 2.468 MB / 0.8323 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.8945, allocations: 12 kB / 0.8323 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8945, allocations: 0 / 0.8323 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003618/0.8981, allocations: 2.076 MB / 0.8343 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.9091, allocations: 4.582 MB / 0.8388 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.9092, allocations: 0 / 0.8388 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009314/0.9101, allocations: 172.4 kB / 0.8389 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.9112, allocations: 480.5 kB / 0.8394 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.9113, allocations: 33.39 kB / 0.8394 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/0.913, allocations: 1.855 MB / 0.8412 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9131, allocations: 7.312 kB / 0.8413 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006355/0.9194, allocations: 3.179 MB / 0.8444 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/0.9214, allocations: 0.524 MB / 0.8449 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001214/0.9226, allocations: 31.2 kB / 0.8449 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/0.925, allocations: 83.84 kB / 0.845 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.9253, allocations: 72.89 kB / 0.8451 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.9254, allocations: 43.97 kB / 0.8451 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005506/0.9309, allocations: 2.358 MB / 0.8474 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.91e-07/0.931, allocations: 0 / 0.8474 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009103/0.9401, allocations: 1.509 MB / 0.8489 GB, free: 9.234 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.002899/0.943, allocations: 0.581 MB / 0.8494 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008616/0.9517, allocations: 3.725 MB / 0.8531 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.9517, allocations: 4 kB / 0.8531 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.9536, allocations: 0.8051 MB / 0.8539 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008828/0.9624, allocations: 1.449 MB / 0.8553 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.9769, allocations: 6.041 MB / 0.8612 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/0.9797, allocations: 2.237 MB / 0.8634 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.9809, allocations: 251.3 kB / 0.8636 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of SimCode: time 1.623e-06/0.9809, allocations: 0 / 0.8636 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.1136/1.094, allocations: 84.73 MB / 0.9463 GB, free: 6 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)