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.001142/0.001142, allocations: 113.2 kB / 16.42 MB, free: 6.477 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.001138/0.001138, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.294/1.294, 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/package.mo): time 0.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.16 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1302, allocations: 80.2 MB / 0.6603 GB, free: 10.25 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.07078/0.201, allocations: 72.3 MB / 0.731 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02361/0.2246, allocations: 16.98 MB / 0.7475 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.2276, allocations: 99.44 kB / 0.7476 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.312/0.5396, allocations: 1 MB / 0.7486 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.5461, allocations: 2.418 MB / 0.751 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.5508, allocations: 2.079 MB / 0.753 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.5608, allocations: 8.048 MB / 0.7609 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007585/0.5685, allocations: 6.141 MB / 0.7669 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.576, allocations: 3.354 MB / 0.7701 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004505/0.5805, allocations: 2.494 MB / 0.7726 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006555/0.5812, allocations: 255.1 kB / 0.7728 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.5852, allocations: 1.373 MB / 0.7742 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009059/0.5861, allocations: 0.7645 MB / 0.7749 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.589, allocations: 1.767 MB / 0.7766 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.5955, allocations: 4.783 MB / 0.7813 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5956, allocations: 1.688 kB / 0.7813 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5956, allocations: 0 / 0.7813 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.401e-05/0.5957, allocations: 4 kB / 0.7813 GB, free: 8.422 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.006242/0.6019, allocations: 4.056 MB / 0.7853 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.6019, allocations: 7.688 kB / 0.7853 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.604, allocations: 0.5695 MB / 0.7858 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/0.6083, allocations: 2.784 MB / 0.7885 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.6084, allocations: 135.1 kB / 0.7887 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.6086, allocations: 184.6 kB / 0.7889 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003194/0.6118, allocations: 2.327 MB / 0.7911 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.6119, allocations: 6.469 kB / 0.7911 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.6121, allocations: 65.84 kB / 0.7912 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.6121, allocations: 44.75 kB / 0.7912 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003052/0.6152, allocations: 1.864 MB / 0.7931 GB, free: 4.156 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.01119/0.6264, allocations: 11.11 MB / 0.8039 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.629, allocations: 1.34 MB / 0.8052 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.6305, allocations: 1.011 MB / 0.8062 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.6359, allocations: 3.638 MB / 0.8097 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.6372, allocations: 0.7722 MB / 0.8105 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000829/0.6381, allocations: 235.7 kB / 0.8107 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.655e-06/0.6381, allocations: 0 / 0.8107 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01156/0.6497, allocations: 4.174 MB / 0.8148 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6497, allocations: 60.41 kB / 0.8149 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.6534, allocations: 2.888 MB / 0.8177 GB, free: 220 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.6535, allocations: 57.7 kB / 0.8177 GB, free: 156 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.6548, allocations: 1.44 MB / 0.8191 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.6551, allocations: 355.5 kB / 0.8195 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/0.6556, allocations: 355.8 kB / 0.8198 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/0.6557, allocations: 301.1 kB / 0.8201 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.657, allocations: 0.6809 MB / 0.8208 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.6588, allocations: 1.438 MB / 0.8222 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00301/0.6618, allocations: 1.914 MB / 0.824 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.6619, allocations: 4 kB / 0.8241 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005764/0.6676, allocations: 2.852 MB / 0.8268 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.6677, allocations: 37.7 kB / 0.8269 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.6677, allocations: 16 kB / 0.8269 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002447/0.6702, allocations: 0.6914 MB / 0.8276 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.6714, allocations: 297.7 kB / 0.8278 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.6732, allocations: 1.898 MB / 0.8297 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.6749, allocations: 101.1 kB / 0.8298 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.675, allocations: 87.95 kB / 0.8299 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002132/0.6772, allocations: 1.28 MB / 0.8311 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001622/0.6788, allocations: 1.389 MB / 0.8325 GB, free: 288 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002662/0.6815, allocations: 1.81 MB / 0.8343 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.949e-06/0.6815, allocations: 7.281 kB / 0.8343 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004489/0.686, allocations: 2.705 MB / 0.8369 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.686, allocations: 41.7 kB / 0.8369 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6861, allocations: 16 kB / 0.837 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009024/0.687, allocations: 465.5 kB / 0.8374 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.6881, allocations: 291.4 kB / 0.8377 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006713/0.6948, allocations: 6.356 MB / 0.8439 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.6965, allocations: 113.6 kB / 0.844 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6967, allocations: 75.97 kB / 0.8441 GB, free: 4.102 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.0003925/0.6971, allocations: 291.9 kB / 0.8443 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.6976, allocations: 310 kB / 0.8446 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004681/0.7022, allocations: 2.433 MB / 0.847 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003366/0.7056, allocations: 2.053 MB / 0.849 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7056, allocations: 4 kB / 0.849 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008933/0.7065, allocations: 0.491 MB / 0.8495 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/0.707, allocations: 20 kB / 0.8495 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7081, allocations: 67.84 kB / 0.8496 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/0.7084, allocations: 135.5 kB / 0.8497 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004327/0.7127, allocations: 2.022 MB / 0.8517 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004139/0.7168, allocations: 2.591 MB / 0.8542 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.718, allocations: 0.6795 MB / 0.8549 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002755/0.7208, allocations: 1.967 MB / 0.8568 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of Backend: time 7.61e-07/0.7208, allocations: 0 / 0.8568 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006494/0.7273, allocations: 3.1 MB / 0.8598 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of SimCode: time 0.01152/0.7388, allocations: 6.814 MB / 0.8665 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.09006/0.8289, allocations: 58.38 MB / 0.9235 GB, free: 3.426 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)