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.001244/0.001244, allocations: 104.5 kB / 16.4 MB, free: 6.492 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.001328/0.001328, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6967/0.6967, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.39 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1469, allocations: 76.18 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06413/0.2111, allocations: 72.72 MB / 0.7031 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.2369, allocations: 18.82 MB / 0.7215 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.2402, allocations: 95.44 kB / 0.7216 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00495/0.2451, allocations: 1.808 MB / 0.7233 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006719/0.2519, allocations: 2.517 MB / 0.7258 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005409/0.2573, allocations: 2.153 MB / 0.7279 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.2707, allocations: 10.95 MB / 0.7386 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007814/0.2786, allocations: 6.172 MB / 0.7446 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3336/0.6122, allocations: 3.347 MB / 0.7479 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004913/0.6172, allocations: 2.564 MB / 0.7504 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009349/0.6181, allocations: 266.8 kB / 0.7506 GB, free: 20.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.6227, allocations: 1.558 MB / 0.7522 GB, free: 20.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009417/0.6236, allocations: 0.9089 MB / 0.753 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.6263, allocations: 1.955 MB / 0.755 GB, free: 19.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.6348, allocations: 5.354 MB / 0.7602 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6349, allocations: 0.5 kB / 0.7602 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6349, allocations: 0.7188 kB / 0.7602 GB, free: 18.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001414/0.635, allocations: 0 / 0.7602 GB, free: 18.84 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.009428/0.6444, allocations: 4.371 MB / 0.7644 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6445, allocations: 9.938 kB / 0.7645 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.6476, allocations: 0.6773 MB / 0.7651 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007553/0.6552, allocations: 3.797 MB / 0.7688 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.6553, allocations: 142.6 kB / 0.769 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.6556, allocations: 189.8 kB / 0.7691 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/0.6595, allocations: 2.356 MB / 0.7714 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.6595, allocations: 8.688 kB / 0.7715 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.6597, allocations: 67.44 kB / 0.7715 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.6598, allocations: 45.84 kB / 0.7716 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.6631, allocations: 1.914 MB / 0.7734 GB, free: 15.4 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.01318/0.6763, allocations: 11.48 MB / 0.7846 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.6789, allocations: 1.349 MB / 0.786 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.6804, allocations: 1.014 MB / 0.787 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006388/0.6868, allocations: 3.721 MB / 0.7906 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.6882, allocations: 0.7713 MB / 0.7913 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001649/0.6898, allocations: 241.8 kB / 0.7916 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=94): time 4.979e-06/0.6899, allocations: 0 / 0.7916 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94): time 0.01262/0.7025, allocations: 4.232 MB / 0.7957 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.7026, allocations: 66.09 kB / 0.7958 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005146/0.7077, allocations: 3.475 MB / 0.7992 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003652/0.7081, allocations: 58.39 kB / 0.7992 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.7092, allocations: 1.559 MB / 0.8007 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.7095, allocations: 343 kB / 0.8011 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/0.7102, allocations: 457.8 kB / 0.8015 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.7102, allocations: 311.4 kB / 0.8018 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.7117, allocations: 0.8632 MB / 0.8026 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.7135, allocations: 1.676 MB / 0.8043 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.7166, allocations: 2.267 MB / 0.8065 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.7166, allocations: 3.844 kB / 0.8065 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006291/0.7229, allocations: 3.335 MB / 0.8098 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.723, allocations: 47.78 kB / 0.8098 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.723, allocations: 14 kB / 0.8098 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.7251, allocations: 0.6926 MB / 0.8105 GB, free: 284 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7264, allocations: 353.7 kB / 0.8108 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/0.7283, allocations: 1.906 MB / 0.8127 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003196/0.7315, allocations: 124.3 kB / 0.8128 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/0.7317, allocations: 99.77 kB / 0.8129 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003183/0.7349, allocations: 1.588 MB / 0.8145 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002061/0.737, allocations: 1.652 MB / 0.8161 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003281/0.7403, allocations: 2.192 MB / 0.8182 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.029e-05/0.7403, allocations: 8 kB / 0.8182 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006087/0.7464, allocations: 3.217 MB / 0.8214 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.7465, allocations: 42.7 kB / 0.8214 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.7465, allocations: 16 kB / 0.8214 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000918/0.7474, allocations: 469.2 kB / 0.8219 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/0.7487, allocations: 352.8 kB / 0.8222 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006844/0.7556, allocations: 6.333 MB / 0.8284 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/0.759, allocations: 152.4 kB / 0.8285 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.7593, allocations: 83.97 kB / 0.8286 GB, free: 13.45 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.0005972/0.7599, allocations: 293.6 kB / 0.8289 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007977/0.7607, allocations: 328.6 kB / 0.8292 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005151/0.7658, allocations: 2.462 MB / 0.8316 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.7659, allocations: 19.98 kB / 0.8316 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7659, allocations: 0 / 0.8316 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003552/0.7694, allocations: 2.08 MB / 0.8337 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009387/0.7788, allocations: 4.581 MB / 0.8381 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7789, allocations: 0 / 0.8381 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008882/0.7798, allocations: 176.5 kB / 0.8383 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/0.7809, allocations: 477.4 kB / 0.8387 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.454e-05/0.781, allocations: 27.98 kB / 0.8388 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.7827, allocations: 1.86 MB / 0.8406 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7827, allocations: 4.125 kB / 0.8406 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.7891, allocations: 3.169 MB / 0.8437 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/0.7911, allocations: 0.5357 MB / 0.8442 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/0.7916, allocations: 23.94 kB / 0.8442 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.7929, allocations: 83.84 kB / 0.8443 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.7931, allocations: 78 kB / 0.8444 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.7933, allocations: 43.97 kB / 0.8444 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003912/0.7972, allocations: 2.355 MB / 0.8467 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.7972, allocations: 0 / 0.8467 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006812/0.804, allocations: 1.507 MB / 0.8482 GB, free: 9.312 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.002305/0.8063, allocations: 0.5987 MB / 0.8488 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008545/0.8149, allocations: 3.711 MB / 0.8524 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.8149, allocations: 0 / 0.8524 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.8167, allocations: 0.8079 MB / 0.8532 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007598/0.8244, allocations: 1.45 MB / 0.8546 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.836, allocations: 5.948 MB / 0.8604 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.8378, allocations: 2.24 MB / 0.8626 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003208/0.841, allocations: 0.8306 MB / 0.8634 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000708/0.8417, allocations: 247.3 kB / 0.8637 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/0.8417, allocations: 0 / 0.8637 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of Templates: time 0.1044/0.9461, allocations: 61.93 MB / 0.9241 GB, free: 12.71 MB / 0.7012 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)