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.001242/0.001242, allocations: 106.4 kB / 16.41 MB, free: 6.461 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.001246/0.001246, allocations: 193.3 kB / 17.34 MB, free: 5.715 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.354/1.354, 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.7466/0.7466, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1401, allocations: 77.93 MB / 0.6446 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.06226/0.2024, allocations: 72.71 MB / 0.7156 GB, free: 40 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02559/0.228, allocations: 18.82 MB / 0.7339 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003575/0.2316, allocations: 95.44 kB / 0.734 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.2366, allocations: 1.808 MB / 0.7358 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/0.2433, allocations: 2.517 MB / 0.7383 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004947/0.2483, allocations: 2.163 MB / 0.7404 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3429/0.5913, allocations: 10.95 MB / 0.7511 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01053/0.6018, allocations: 6.165 MB / 0.7571 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009367/0.6112, allocations: 3.282 MB / 0.7603 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006354/0.6176, allocations: 2.568 MB / 0.7628 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/0.6188, allocations: 265.4 kB / 0.7631 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004897/0.6237, allocations: 1.548 MB / 0.7646 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.6256, allocations: 0.908 MB / 0.7654 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003978/0.6296, allocations: 1.963 MB / 0.7674 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007893/0.6375, allocations: 5.379 MB / 0.7726 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6376, allocations: 0 / 0.7726 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6376, allocations: 0 / 0.7726 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001361/0.6377, allocations: 0 / 0.7726 GB, free: 13.86 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.008596/0.6463, allocations: 4.506 MB / 0.777 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6464, allocations: 8.094 kB / 0.777 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.6494, allocations: 0.6942 MB / 0.7777 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006708/0.6561, allocations: 3.839 MB / 0.7815 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.6562, allocations: 139 kB / 0.7816 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.6565, allocations: 199.2 kB / 0.7818 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.6602, allocations: 2.358 MB / 0.7841 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.6603, allocations: 8.125 kB / 0.7841 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.6604, allocations: 67.12 kB / 0.7842 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.6605, allocations: 44.8 kB / 0.7842 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.6639, allocations: 1.909 MB / 0.7861 GB, free: 10.09 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.01287/0.6768, allocations: 11.5 MB / 0.7973 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.6794, allocations: 1.338 MB / 0.7986 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.681, allocations: 1.021 MB / 0.7996 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005876/0.6869, allocations: 3.717 MB / 0.8032 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.6883, allocations: 0.7767 MB / 0.804 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001618/0.6899, allocations: 239.2 kB / 0.8042 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=94): time 5.31e-06/0.69, allocations: 0 / 0.8042 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94): time 0.01209/0.7021, allocations: 4.257 MB / 0.8084 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7022, allocations: 62.69 kB / 0.8084 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007368/0.7095, allocations: 3.475 MB / 0.8118 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004103/0.71, allocations: 57.7 kB / 0.8119 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.7119, allocations: 1.59 MB / 0.8134 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.7125, allocations: 355.7 kB / 0.8138 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.7135, allocations: 459.6 kB / 0.8142 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.7136, allocations: 305.1 kB / 0.8145 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.7153, allocations: 0.8655 MB / 0.8153 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.7178, allocations: 1.674 MB / 0.817 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.7214, allocations: 2.268 MB / 0.8192 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.7215, allocations: 4 kB / 0.8192 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007302/0.7288, allocations: 3.35 MB / 0.8225 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.7289, allocations: 44.45 kB / 0.8225 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.7289, allocations: 20.09 kB / 0.8225 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.7313, allocations: 0.6937 MB / 0.8232 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.7327, allocations: 346.6 kB / 0.8235 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.7346, allocations: 1.911 MB / 0.8254 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.7374, allocations: 128.3 kB / 0.8255 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.7376, allocations: 96.02 kB / 0.8256 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003116/0.7407, allocations: 1.589 MB / 0.8272 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002137/0.7429, allocations: 1.634 MB / 0.8288 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003229/0.7461, allocations: 2.209 MB / 0.8309 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.501e-05/0.7462, allocations: 4 kB / 0.8309 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006146/0.7523, allocations: 3.238 MB / 0.8341 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.7524, allocations: 41.69 kB / 0.8341 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.7524, allocations: 16 kB / 0.8341 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009304/0.7533, allocations: 478 kB / 0.8346 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.7547, allocations: 352 kB / 0.8349 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006962/0.7617, allocations: 6.344 MB / 0.8411 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.7644, allocations: 136.9 kB / 0.8413 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002415/0.7646, allocations: 91.95 kB / 0.8414 GB, free: 12.79 MB / 0.6231 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.0005269/0.7652, allocations: 298.1 kB / 0.8416 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009305/0.7661, allocations: 353.7 kB / 0.842 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/0.7715, allocations: 2.465 MB / 0.8444 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.7715, allocations: 12 kB / 0.8444 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7715, allocations: 4 kB / 0.8444 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003509/0.775, allocations: 2.082 MB / 0.8464 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009431/0.7845, allocations: 4.57 MB / 0.8509 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.7845, allocations: 0 / 0.8509 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008864/0.7854, allocations: 167.8 kB / 0.8511 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.7865, allocations: 470.6 kB / 0.8515 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.7866, allocations: 39.97 kB / 0.8515 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.7883, allocations: 1.849 MB / 0.8533 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.7883, allocations: 3.469 kB / 0.8533 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.7943, allocations: 3.206 MB / 0.8565 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/0.7958, allocations: 0.5376 MB / 0.857 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009314/0.7967, allocations: 27.94 kB / 0.857 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.7986, allocations: 83.88 kB / 0.8571 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.7988, allocations: 76.89 kB / 0.8572 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.7989, allocations: 50.5 kB / 0.8572 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004705/0.8036, allocations: 2.351 MB / 0.8595 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8036, allocations: 0 / 0.8595 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005746/0.8094, allocations: 1.524 MB / 0.861 GB, free: 8.594 MB / 0.6387 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.001816/0.8112, allocations: 0.6115 MB / 0.8616 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00745/0.8187, allocations: 3.726 MB / 0.8652 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.8187, allocations: 4 kB / 0.8653 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.8204, allocations: 0.7998 MB / 0.866 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007305/0.8277, allocations: 1.45 MB / 0.8675 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.8404, allocations: 6.039 MB / 0.8733 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/0.8432, allocations: 2.245 MB / 0.8755 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003245/0.8464, allocations: 0.8257 MB / 0.8763 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007648/0.8472, allocations: 247.3 kB / 0.8766 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.8472, allocations: 0 / 0.8766 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of Templates: time 0.09629/0.9435, allocations: 60.73 MB / 0.9359 GB, free: 13.01 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)