Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001149/0.001149, allocations: 109.1 kB / 16.38 MB, free: 5.957 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.00112/0.00112, allocations: 190.5 kB / 17.31 MB, free: 5.582 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.176/1.176, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7024/0.7024, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.5 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1385, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.06128/0.1998, allocations: 72.3 MB / 0.7359 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3534/0.5533, allocations: 16.97 MB / 0.7524 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.5565, allocations: 93.44 kB / 0.7525 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.5594, allocations: 1.003 MB / 0.7535 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006023/0.5655, allocations: 2.36 MB / 0.7558 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/0.5701, allocations: 2.07 MB / 0.7578 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.5807, allocations: 8.041 MB / 0.7657 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007587/0.5883, allocations: 6.116 MB / 0.7717 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007964/0.5963, allocations: 3.289 MB / 0.7749 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004959/0.6013, allocations: 2.492 MB / 0.7773 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.6025, allocations: 255.9 kB / 0.7775 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/0.6073, allocations: 1.374 MB / 0.7789 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.6086, allocations: 0.7608 MB / 0.7796 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.6119, allocations: 1.772 MB / 0.7814 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005783/0.6177, allocations: 4.741 MB / 0.786 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6177, allocations: 1.438 kB / 0.786 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6177, allocations: 0 / 0.786 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.00012/0.6179, allocations: 0 / 0.786 GB, free: 8.113 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007529/0.6254, allocations: 3.952 MB / 0.7899 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.6254, allocations: 13.5 kB / 0.7899 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.6276, allocations: 0.5448 MB / 0.7904 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.6327, allocations: 2.745 MB / 0.7931 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.183e-05/0.6328, allocations: 139.3 kB / 0.7932 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.6331, allocations: 181.8 kB / 0.7934 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.6364, allocations: 2.327 MB / 0.7957 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.6365, allocations: 9.406 kB / 0.7957 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.6367, allocations: 73.38 kB / 0.7957 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.92e-05/0.6367, allocations: 44.25 kB / 0.7958 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003022/0.6397, allocations: 1.869 MB / 0.7976 GB, free: 1.918 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.01272/0.6525, allocations: 11.08 MB / 0.8084 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.655, allocations: 1.335 MB / 0.8097 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.6564, allocations: 0.9972 MB / 0.8107 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005645/0.6621, allocations: 3.649 MB / 0.8143 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.6634, allocations: 0.774 MB / 0.815 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001222/0.6646, allocations: 228 kB / 0.8152 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.547e-06/0.6646, allocations: 0 / 0.8152 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01115/0.6758, allocations: 4.164 MB / 0.8193 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6759, allocations: 60.41 kB / 0.8194 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.6796, allocations: 2.884 MB / 0.8222 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.6799, allocations: 57.7 kB / 0.8222 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.681, allocations: 1.416 MB / 0.8236 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/0.6813, allocations: 335.6 kB / 0.8239 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.6818, allocations: 359.6 kB / 0.8243 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.6819, allocations: 301.1 kB / 0.8246 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6831, allocations: 0.6848 MB / 0.8252 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.6848, allocations: 1.428 MB / 0.8266 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.6876, allocations: 1.919 MB / 0.8285 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.006e-06/0.6876, allocations: 4 kB / 0.8285 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005654/0.6933, allocations: 2.843 MB / 0.8313 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.6934, allocations: 37.7 kB / 0.8313 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.6934, allocations: 12 kB / 0.8313 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.6956, allocations: 0.692 MB / 0.832 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.6968, allocations: 290.4 kB / 0.8323 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.6985, allocations: 1.9 MB / 0.8341 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.7008, allocations: 96.89 kB / 0.8342 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.7009, allocations: 91.89 kB / 0.8343 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002449/0.7034, allocations: 1.273 MB / 0.8356 GB, free: 14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001693/0.7051, allocations: 1.385 MB / 0.8369 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002611/0.7077, allocations: 1.824 MB / 0.8387 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.7078, allocations: 4 kB / 0.8387 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.00476/0.7125, allocations: 2.692 MB / 0.8413 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.7126, allocations: 45.64 kB / 0.8414 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.7126, allocations: 20.12 kB / 0.8414 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/0.7135, allocations: 474.7 kB / 0.8418 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.7146, allocations: 291 kB / 0.8421 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006622/0.7212, allocations: 6.338 MB / 0.8483 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.7236, allocations: 119.2 kB / 0.8484 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.7239, allocations: 80.03 kB / 0.8485 GB, free: 15.86 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0005546/0.7245, allocations: 284.2 kB / 0.8488 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008388/0.7253, allocations: 300.2 kB / 0.8491 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.7304, allocations: 2.416 MB / 0.8514 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.7305, allocations: 12 kB / 0.8514 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7305, allocations: 0 / 0.8514 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003286/0.7338, allocations: 2.059 MB / 0.8534 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008521/0.7423, allocations: 4.385 MB / 0.8577 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7424, allocations: 4 kB / 0.8577 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/0.7432, allocations: 168.6 kB / 0.8579 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009692/0.7441, allocations: 466.2 kB / 0.8583 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.873e-05/0.7442, allocations: 39.92 kB / 0.8584 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.7459, allocations: 1.86 MB / 0.8602 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7459, allocations: 0 / 0.8602 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.7513, allocations: 3.117 MB / 0.8632 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.7525, allocations: 485 kB / 0.8637 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006808/0.7532, allocations: 24 kB / 0.8637 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.7547, allocations: 67.78 kB / 0.8638 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.7549, allocations: 80.95 kB / 0.8639 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.755, allocations: 51.95 kB / 0.8639 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00386/0.7589, allocations: 1.963 MB / 0.8658 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7589, allocations: 0 / 0.8658 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006371/0.7653, allocations: 1.352 MB / 0.8671 GB, free: 12.58 MB / 0.6544 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 (79): * Single equations (assignments): 71 * 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.001483/0.7668, allocations: 461.1 kB / 0.8676 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006287/0.7731, allocations: 3.179 MB / 0.8707 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7731, allocations: 0 / 0.8707 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.7747, allocations: 0.7969 MB / 0.8715 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/0.7809, allocations: 1.246 MB / 0.8727 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.7908, allocations: 5.205 MB / 0.8778 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.793, allocations: 2.054 MB / 0.8798 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000817/0.7938, allocations: 215.4 kB / 0.88 GB, free: 15.38 MB / 0.67 GB Notification: Performance of SimCode: time 1.152e-06/0.7938, allocations: 0 / 0.88 GB, free: 15.38 MB / 0.67 GB Notification: Performance of Templates: time 0.08597/0.8798, allocations: 75.03 MB / 0.9532 GB, free: 4.629 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)