Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001333/0.001333, allocations: 105.4 kB / 16.36 MB, free: 6.285 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.001475/0.001475, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7829/0.7829, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.06466/0.4277, allocations: 80.61 MB / 0.6602 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02548/0.4532, allocations: 19.24 MB / 0.679 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.4574, allocations: 107.4 kB / 0.6791 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.4608, allocations: 1.151 MB / 0.6802 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007997/0.4689, allocations: 2.761 MB / 0.6829 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00651/0.4754, allocations: 2.394 MB / 0.6853 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0247/0.5001, allocations: 26.84 MB / 0.7115 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01987/0.52, allocations: 17.04 MB / 0.7281 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0204/0.5404, allocations: 11.29 MB / 0.7391 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01914/0.5596, allocations: 11.68 MB / 0.7505 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.5675/1.127, allocations: 1.279 MB / 0.7518 GB, free: 41.96 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/1.14, allocations: 2.575 MB / 0.7543 GB, free: 41.96 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.009071/1.149, allocations: 3.631 MB / 0.7579 GB, free: 41.96 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.02324/1.172, allocations: 6.487 MB / 0.7642 GB, free: 41.48 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.02862/1.201, allocations: 18.49 MB / 0.7822 GB, free: 39.96 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.201, allocations: 1.594 kB / 0.7822 GB, free: 39.96 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.184e-06/1.201, allocations: 0 / 0.7822 GB, free: 39.96 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0005849/1.201, allocations: 0 / 0.7822 GB, free: 39.96 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.03868/1.24, allocations: 12.21 MB / 0.7942 GB, free: 35.93 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.24, allocations: 11.03 kB / 0.7942 GB, free: 35.93 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009211/1.249, allocations: 1.264 MB / 0.7954 GB, free: 35.41 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02141/1.271, allocations: 10.12 MB / 0.8053 GB, free: 33.2 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/1.271, allocations: 436.7 kB / 0.8057 GB, free: 33.18 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/1.275, allocations: 0.5764 MB / 0.8063 GB, free: 33.18 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/1.306, allocations: 14.62 MB / 0.8206 GB, free: 28.35 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/1.306, allocations: 19.47 kB / 0.8206 GB, free: 28.35 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002438/1.309, allocations: 244.9 kB / 0.8208 GB, free: 28.35 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.941e-05/1.309, allocations: 137.6 kB / 0.8209 GB, free: 28.35 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/1.336, allocations: 19.76 MB / 0.8402 GB, free: 13.05 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.09891/1.435, allocations: 60.04 MB / 0.8989 GB, free: 312 kB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/1.449, allocations: 9.166 MB / 0.9078 GB, free: 7.129 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01235/1.462, allocations: 8.591 MB / 0.9162 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05182/1.514, allocations: 27.44 MB / 0.943 GB, free: 2.824 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01242/1.526, allocations: 7.636 MB / 0.9505 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01526/1.541, allocations: 4.494 MB / 0.9549 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=299): time 1.777e-05/1.541, allocations: 0 / 0.9549 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of matching and sorting (n=299): time 0.05063/1.592, allocations: 23.3 MB / 0.9776 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.592, allocations: 88.89 kB / 0.9777 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01147/1.604, allocations: 8.248 MB / 0.9858 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001912/1.606, allocations: 97.7 kB / 0.9858 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.609, allocations: 4.056 MB / 0.9898 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00252/1.612, allocations: 1.077 MB / 0.9909 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/1.615, allocations: 1.665 MB / 0.9925 GB, free: 172 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/1.615, allocations: 301.1 kB / 0.9928 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008926/1.624, allocations: 6.548 MB / 0.9992 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.634, allocations: 8.324 MB / 1.007 GB, free: 168 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0212/1.656, allocations: 15.24 MB / 1.022 GB, free: 420 kB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/1.656, allocations: 16 kB / 1.022 GB, free: 404 kB / 0.7482 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.303/1.959, allocations: 17.56 MB / 1.039 GB, free: 296.8 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/1.959, allocations: 53.84 kB / 1.039 GB, free: 296.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.003e-05/1.959, allocations: 52.34 kB / 1.039 GB, free: 296.7 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06748/2.026, allocations: 11.58 MB / 1.051 GB, free: 295.9 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008027/2.034, allocations: 1.555 MB / 1.052 GB, free: 295.8 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/2.039, allocations: 3.774 MB / 1.056 GB, free: 293.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0093/2.049, allocations: 339.5 kB / 1.056 GB, free: 293.6 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/2.051, allocations: 0.5459 MB / 1.057 GB, free: 293.5 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01167/2.063, allocations: 8.818 MB / 1.065 GB, free: 287.6 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008164/2.071, allocations: 8.28 MB / 1.074 GB, free: 278.4 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01746/2.088, allocations: 15.15 MB / 1.088 GB, free: 262.6 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.085e-05/2.088, allocations: 15.94 kB / 1.088 GB, free: 262.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03355/2.122, allocations: 17.4 MB / 1.105 GB, free: 245.5 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/2.122, allocations: 57.69 kB / 1.105 GB, free: 245.4 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-05/2.122, allocations: 48 kB / 1.105 GB, free: 245.3 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06429/2.186, allocations: 11.14 MB / 1.116 GB, free: 234.2 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008073/2.194, allocations: 1.542 MB / 1.118 GB, free: 232.7 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008416/2.203, allocations: 8.182 MB / 1.126 GB, free: 224.3 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00962/2.213, allocations: 343.8 kB / 1.126 GB, free: 224 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/2.215, allocations: 0.5382 MB / 1.127 GB, free: 223.5 MB / 0.7482 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 (524): * Single equations (assignments): 519 * 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.004176/2.219, allocations: 491.8 kB / 1.127 GB, free: 223 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004791/2.224, allocations: 0.7668 MB / 1.128 GB, free: 222.4 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02641/2.251, allocations: 14.16 MB / 1.142 GB, free: 208.2 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/2.251, allocations: 35.94 kB / 1.142 GB, free: 208.2 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/2.251, allocations: 0 / 1.142 GB, free: 208.2 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01501/2.266, allocations: 10.78 MB / 1.152 GB, free: 197.3 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03816/2.304, allocations: 24.57 MB / 1.176 GB, free: 172.7 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/2.304, allocations: 0 / 1.176 GB, free: 172.7 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00507/2.309, allocations: 0.6846 MB / 1.177 GB, free: 172 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06028/2.369, allocations: 10.73 MB / 1.187 GB, free: 161.3 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/2.371, allocations: 99.94 kB / 1.187 GB, free: 161.2 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/2.374, allocations: 3.119 MB / 1.191 GB, free: 158 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.374, allocations: 0 / 1.191 GB, free: 158 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02518/2.399, allocations: 19.17 MB / 1.209 GB, free: 138.8 MB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004803/2.404, allocations: 1.821 MB / 1.211 GB, free: 136.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00182/2.406, allocations: 76.11 kB / 1.211 GB, free: 136.9 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004873/2.411, allocations: 201.9 kB / 1.211 GB, free: 136.7 MB / 0.7482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007489/2.412, allocations: 210.5 kB / 1.212 GB, free: 136.5 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005273/2.412, allocations: 159.9 kB / 1.212 GB, free: 136.3 MB / 0.7482 GB Notification: Performance of sorting global known variables: time 0.0069/2.419, allocations: 5.695 MB / 1.217 GB, free: 130.7 MB / 0.7482 GB Notification: Performance of sort global known variables: time 6.12e-07/2.419, allocations: 0 / 1.217 GB, free: 130.7 MB / 0.7482 GB Notification: Performance of remove unused functions: time 0.01319/2.432, allocations: 4.772 MB / 1.222 GB, free: 126.1 MB / 0.7482 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 (301): * Single equations (assignments): 292 * 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.001581/2.434, allocations: 0.597 MB / 1.222 GB, free: 125.6 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.02952/2.463, allocations: 23.48 MB / 1.245 GB, free: 102.1 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/2.463, allocations: 8.25 kB / 1.245 GB, free: 102.1 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.007465/2.471, allocations: 6.331 MB / 1.252 GB, free: 95.72 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01991/2.491, allocations: 4.896 MB / 1.256 GB, free: 91.09 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02642/2.517, allocations: 20.4 MB / 1.276 GB, free: 70.7 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003582/2.521, allocations: 5.234 MB / 1.281 GB, free: 65.43 MB / 0.7482 GB Notification: Performance of simCode: alias equations: time 0.0147/2.536, allocations: 5.043 MB / 1.286 GB, free: 60.4 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004516/2.54, allocations: 0.9046 MB / 1.287 GB, free: 59.5 MB / 0.7482 GB Notification: Performance of SimCode: time 1.012e-06/2.54, allocations: 0 / 1.287 GB, free: 59.5 MB / 0.7482 GB Notification: Performance of Templates: time 0.5114/3.052, allocations: 221.1 MB / 1.503 GB, free: 153.4 MB / 0.7482 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)