Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 106.1 kB / 15.99 MB, free: 6.352 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.001079/0.001079, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8445/0.8445, allocations: 135.1 MB / 425.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, allocations: 80.91 MB / 0.5845 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.06625/0.429, allocations: 79.9 MB / 0.6625 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.4565, allocations: 19.12 MB / 0.6812 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.4613, allocations: 99.38 kB / 0.6813 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003796/0.4652, allocations: 1.003 MB / 0.6823 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008073/0.4733, allocations: 2.571 MB / 0.6848 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.4793, allocations: 2.189 MB / 0.6869 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02704/0.5063, allocations: 26.99 MB / 0.7133 GB, free: 6.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/0.5288, allocations: 16.99 MB / 0.7299 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02664/0.5555, allocations: 11.38 MB / 0.741 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6917/1.247, allocations: 11.93 MB / 0.7526 GB, free: 33.73 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.006035/1.253, allocations: 1.28 MB / 0.7539 GB, free: 33.73 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/1.265, allocations: 2.563 MB / 0.7564 GB, free: 33.73 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.008781/1.274, allocations: 3.637 MB / 0.7599 GB, free: 33.73 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.01832/1.293, allocations: 6.49 MB / 0.7663 GB, free: 33.73 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01886/1.311, allocations: 14.39 MB / 0.7803 GB, free: 33.32 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.311, allocations: 0 / 0.7803 GB, free: 33.32 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.447e-06/1.312, allocations: 0 / 0.7803 GB, free: 33.32 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005526/1.312, allocations: 3.281 kB / 0.7803 GB, free: 33.32 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04005/1.352, allocations: 12.21 MB / 0.7923 GB, free: 29.32 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.352, allocations: 8.828 kB / 0.7923 GB, free: 29.32 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.362, allocations: 1.267 MB / 0.7935 GB, free: 28.8 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/1.385, allocations: 10.01 MB / 0.8033 GB, free: 26.19 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005059/1.386, allocations: 446.4 kB / 0.8037 GB, free: 26.18 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004988/1.391, allocations: 0.5788 MB / 0.8043 GB, free: 26.17 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03568/1.427, allocations: 14.62 MB / 0.8185 GB, free: 21.35 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003047/1.427, allocations: 23.25 kB / 0.8186 GB, free: 21.34 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004421/1.431, allocations: 237.4 kB / 0.8188 GB, free: 21.34 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.431, allocations: 141.3 kB / 0.8189 GB, free: 21.34 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0317/1.463, allocations: 19.77 MB / 0.8382 GB, free: 7.805 MB / 0.5763 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.113/1.576, allocations: 59.92 MB / 0.8967 GB, free: 11.21 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/1.592, allocations: 9.185 MB / 0.9057 GB, free: 2.016 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01332/1.605, allocations: 8.588 MB / 0.9141 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05977/1.665, allocations: 27.38 MB / 0.9408 GB, free: 13.79 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01491/1.68, allocations: 7.643 MB / 0.9483 GB, free: 6.102 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02288/1.703, allocations: 6.864 MB / 0.955 GB, free: 15.38 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=300): time 2.675e-05/1.703, allocations: 4 kB / 0.955 GB, free: 15.37 MB / 0.7013 GB Notification: Performance of matching and sorting (n=300): time 0.05844/1.762, allocations: 23.52 MB / 0.978 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/1.762, allocations: 89.75 kB / 0.9781 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/1.778, allocations: 8.03 MB / 0.9859 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.002619/1.781, allocations: 97.7 kB / 0.986 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.005358/1.786, allocations: 4.059 MB / 0.99 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.003442/1.79, allocations: 1.082 MB / 0.991 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007372/1.797, allocations: 1.665 MB / 0.9926 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.797, allocations: 305.1 kB / 0.9929 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01116/1.808, allocations: 6.544 MB / 0.9993 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/1.821, allocations: 8.326 MB / 1.007 GB, free: 8.738 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02576/1.847, allocations: 15.26 MB / 1.022 GB, free: 8.973 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.435e-05/1.847, allocations: 12 kB / 1.022 GB, free: 8.961 MB / 0.7638 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.3665/2.214, allocations: 17.58 MB / 1.04 GB, free: 308.9 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/2.214, allocations: 52.17 kB / 1.04 GB, free: 308.9 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-05/2.214, allocations: 47.88 kB / 1.04 GB, free: 308.9 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06637/2.28, allocations: 11.59 MB / 1.051 GB, free: 308.3 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008342/2.289, allocations: 1.552 MB / 1.052 GB, free: 308.3 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/2.294, allocations: 3.779 MB / 1.056 GB, free: 306.2 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/2.305, allocations: 0.5152 MB / 1.057 GB, free: 306.1 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002924/2.308, allocations: 0.5457 MB / 1.057 GB, free: 306.1 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01643/2.325, allocations: 8.819 MB / 1.066 GB, free: 302.9 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01088/2.335, allocations: 8.283 MB / 1.074 GB, free: 297.6 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02097/2.356, allocations: 15.16 MB / 1.089 GB, free: 283.3 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.202e-05/2.357, allocations: 16 kB / 1.089 GB, free: 283.2 MB / 0.7638 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.03353/2.39, allocations: 17.04 MB / 1.105 GB, free: 266.5 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 9.026e-05/2.39, allocations: 49.7 kB / 1.105 GB, free: 266.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.848e-05/2.39, allocations: 48 kB / 1.105 GB, free: 266.4 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06381/2.454, allocations: 11.13 MB / 1.116 GB, free: 255.3 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008212/2.462, allocations: 1.542 MB / 1.118 GB, free: 253.8 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009425/2.472, allocations: 8.174 MB / 1.126 GB, free: 245.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/2.484, allocations: 0.5096 MB / 1.126 GB, free: 244.9 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002968/2.487, allocations: 0.5382 MB / 1.127 GB, free: 244.4 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (525): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004802/2.492, allocations: 490.6 kB / 1.127 GB, free: 243.9 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004649/2.496, allocations: 0.7692 MB / 1.128 GB, free: 243.5 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02859/2.525, allocations: 14.19 MB / 1.142 GB, free: 229.3 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/2.525, allocations: 32 kB / 1.142 GB, free: 229.3 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/2.525, allocations: 3.938 kB / 1.142 GB, free: 229.3 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0159/2.541, allocations: 10.79 MB / 1.152 GB, free: 218.4 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04167/2.583, allocations: 24.51 MB / 1.176 GB, free: 193.9 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/2.583, allocations: 4 kB / 1.176 GB, free: 193.9 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005337/2.588, allocations: 0.6882 MB / 1.177 GB, free: 193.2 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06009/2.648, allocations: 10.75 MB / 1.188 GB, free: 182.5 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001602/2.65, allocations: 107.9 kB / 1.188 GB, free: 182.4 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/2.653, allocations: 3.114 MB / 1.191 GB, free: 179.2 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/2.653, allocations: 4 kB / 1.191 GB, free: 179.2 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02804/2.681, allocations: 19.26 MB / 1.21 GB, free: 159.9 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005875/2.687, allocations: 1.807 MB / 1.211 GB, free: 158.1 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003263/2.69, allocations: 71.98 kB / 1.211 GB, free: 158 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007402/2.698, allocations: 388.8 kB / 1.212 GB, free: 157.6 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/2.699, allocations: 210.5 kB / 1.212 GB, free: 157.4 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001179/2.701, allocations: 155.9 kB / 1.212 GB, free: 157.3 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.009809/2.71, allocations: 5.531 MB / 1.217 GB, free: 151.8 MB / 0.7638 GB Notification: Performance of sort global known variables: time 7.21e-07/2.71, allocations: 0 / 1.217 GB, free: 151.8 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.02051/2.731, allocations: 4.814 MB / 1.222 GB, free: 147.2 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * 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 (302): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00284/2.734, allocations: 0.5808 MB / 1.223 GB, free: 146.7 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.04712/2.781, allocations: 29.19 MB / 1.251 GB, free: 117.4 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.781, allocations: 4 kB / 1.251 GB, free: 117.4 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.009425/2.79, allocations: 6.335 MB / 1.257 GB, free: 111.1 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02616/2.817, allocations: 4.933 MB / 1.262 GB, free: 106.4 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/2.858, allocations: 23.66 MB / 1.285 GB, free: 82.73 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/2.862, allocations: 5.234 MB / 1.29 GB, free: 77.46 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005829/2.868, allocations: 0.9398 MB / 1.291 GB, free: 76.52 MB / 0.7638 GB Notification: Performance of SimCode: time 1.433e-06/2.868, allocations: 0 / 1.291 GB, free: 76.52 MB / 0.7638 GB Notification: Performance of Templates: time 0.7021/3.57, allocations: 307.2 MB / 1.591 GB, free: 88.54 MB / 0.7638 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)