Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001274/0.001274, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.00114/0.00114, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7957/0.7957, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.16 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1341, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.07022/0.2044, allocations: 72.29 MB / 0.7309 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.2281, allocations: 16.99 MB / 0.7475 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.2313, allocations: 95.44 kB / 0.7476 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.3357/0.567, allocations: 1.001 MB / 0.7486 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007817/0.5749, allocations: 2.424 MB / 0.751 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006833/0.5817, allocations: 2.081 MB / 0.753 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.5935, allocations: 8.047 MB / 0.7609 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008187/0.6018, allocations: 6.139 MB / 0.7669 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008036/0.6098, allocations: 3.356 MB / 0.7701 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005534/0.6154, allocations: 2.493 MB / 0.7726 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006235/0.616, allocations: 255.9 kB / 0.7728 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.6199, allocations: 1.368 MB / 0.7741 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007241/0.6206, allocations: 0.7685 MB / 0.7749 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.6233, allocations: 1.764 MB / 0.7766 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006274/0.6295, allocations: 4.78 MB / 0.7813 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6296, allocations: 1.688 kB / 0.7813 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6296, allocations: 3 kB / 0.7813 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.91e-05/0.6297, allocations: 0 / 0.7813 GB, free: 8.371 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.006393/0.6361, allocations: 4.06 MB / 0.7853 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.6361, allocations: 8.75 kB / 0.7853 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.6383, allocations: 0.567 MB / 0.7858 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.6428, allocations: 2.776 MB / 0.7885 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.6429, allocations: 144.5 kB / 0.7887 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.6431, allocations: 186.5 kB / 0.7888 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.6464, allocations: 2.324 MB / 0.7911 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.6464, allocations: 10.8 kB / 0.7911 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.6466, allocations: 69.69 kB / 0.7912 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.6466, allocations: 45.34 kB / 0.7912 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003024/0.6497, allocations: 1.86 MB / 0.7931 GB, free: 4.094 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.01156/0.6612, allocations: 11.11 MB / 0.8039 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.6638, allocations: 1.336 MB / 0.8052 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.6653, allocations: 1.012 MB / 0.8062 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005592/0.6709, allocations: 3.64 MB / 0.8097 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.6723, allocations: 0.7703 MB / 0.8105 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001092/0.6734, allocations: 233.3 kB / 0.8107 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.955e-06/0.6734, allocations: 0 / 0.8107 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01182/0.6852, allocations: 4.177 MB / 0.8148 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6853, allocations: 64.41 kB / 0.8149 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/0.6891, allocations: 2.884 MB / 0.8177 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.6893, allocations: 57.7 kB / 0.8177 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.6904, allocations: 1.442 MB / 0.8191 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.6908, allocations: 359.1 kB / 0.8195 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004944/0.6913, allocations: 351.8 kB / 0.8198 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.6913, allocations: 309.1 kB / 0.8201 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.6926, allocations: 0.677 MB / 0.8208 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.6944, allocations: 1.435 MB / 0.8222 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.6973, allocations: 1.909 MB / 0.824 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.6973, allocations: 4 kB / 0.824 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005904/0.7032, allocations: 2.859 MB / 0.8268 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/0.7033, allocations: 41.7 kB / 0.8269 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.7033, allocations: 12.05 kB / 0.8269 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/0.7057, allocations: 0.6934 MB / 0.8276 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.7069, allocations: 294.6 kB / 0.8278 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.7086, allocations: 1.9 MB / 0.8297 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.7107, allocations: 105.1 kB / 0.8298 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.7108, allocations: 83.95 kB / 0.8299 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002229/0.7131, allocations: 1.276 MB / 0.8311 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.7147, allocations: 1.386 MB / 0.8325 GB, free: 208 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00252/0.7172, allocations: 1.816 MB / 0.8343 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-06/0.7172, allocations: 4 kB / 0.8343 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004569/0.7218, allocations: 2.708 MB / 0.8369 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.7218, allocations: 41.69 kB / 0.8369 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.7219, allocations: 16 kB / 0.837 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009085/0.7228, allocations: 482.2 kB / 0.8374 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7239, allocations: 290.5 kB / 0.8377 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.7304, allocations: 6.342 MB / 0.8439 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.7324, allocations: 113.6 kB / 0.844 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.7326, allocations: 79.97 kB / 0.8441 GB, free: 4.02 MB / 0.6231 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.0004238/0.733, allocations: 288.4 kB / 0.8443 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.7334, allocations: 310 kB / 0.8446 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/0.7381, allocations: 2.426 MB / 0.847 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003282/0.7414, allocations: 2.071 MB / 0.849 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.7414, allocations: 0 / 0.849 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009321/0.7423, allocations: 494.8 kB / 0.8495 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7426, allocations: 24 kB / 0.8495 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7438, allocations: 67.84 kB / 0.8496 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.744, allocations: 128.7 kB / 0.8497 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004195/0.7482, allocations: 2.027 MB / 0.8517 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004063/0.7523, allocations: 2.588 MB / 0.8542 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/0.7535, allocations: 0.6834 MB / 0.8549 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002613/0.7561, allocations: 1.967 MB / 0.8568 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of Backend: time 4.41e-07/0.7561, allocations: 0 / 0.8568 GB, free: 6.977 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006692/0.7628, allocations: 3.099 MB / 0.8598 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01023/0.7731, allocations: 6.81 MB / 0.8665 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.09215/0.8653, allocations: 58.37 MB / 0.9235 GB, free: 3.355 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)