Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001856/0.001855, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7844/0.7844, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4158, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6655/1.081, allocations: 237.5 MB / 0.8134 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01874/1.1, allocations: 15.77 MB / 0.8288 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/1.103, allocations: 63.06 kB / 0.8289 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002732/1.106, allocations: 1.041 MB / 0.8299 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007288/1.113, allocations: 2.964 MB / 0.8328 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004138/1.117, allocations: 1.682 MB / 0.8345 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004763/1.122, allocations: 3.449 MB / 0.8378 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/1.124, allocations: 1.295 MB / 0.8391 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006073/1.13, allocations: 2.492 MB / 0.8415 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.132, allocations: 1.079 MB / 0.8426 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003325/1.133, allocations: 118.3 kB / 0.8427 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005969/1.139, allocations: 3.102 MB / 0.8457 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006159/1.139, allocations: 472.2 kB / 0.8462 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.141, allocations: 0.8162 MB / 0.847 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00588/1.146, allocations: 2.978 MB / 0.8499 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.147, allocations: 4 kB / 0.8499 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/1.147, allocations: 0 / 0.8499 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.168e-05/1.147, allocations: 0 / 0.8499 GB, free: 10.18 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003584/1.15, allocations: 2.007 MB / 0.8518 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/1.15, allocations: 7.812 kB / 0.8518 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/1.153, allocations: 0.4916 MB / 0.8523 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/1.155, allocations: 1.171 MB / 0.8535 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/1.155, allocations: 82 kB / 0.8535 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/1.156, allocations: 99.2 kB / 0.8536 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/1.158, allocations: 1.35 MB / 0.855 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/1.158, allocations: 7.188 kB / 0.855 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-05/1.158, allocations: 46.27 kB / 0.855 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-05/1.158, allocations: 41.98 kB / 0.8551 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/1.16, allocations: 1.054 MB / 0.8561 GB, free: 4.777 MB / 0.5919 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.008222/1.169, allocations: 7.392 MB / 0.8633 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.17, allocations: 0.5394 MB / 0.8638 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/1.171, allocations: 263.7 kB / 0.8641 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/1.171, allocations: 287.6 kB / 0.8644 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.171, allocations: 42.78 kB / 0.8644 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/1.171, allocations: 0 / 0.8644 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.002222/1.173, allocations: 0.8355 MB / 0.8652 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/1.173, allocations: 55.41 kB / 0.8653 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/1.175, allocations: 1.395 MB / 0.8666 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/1.175, allocations: 37.7 kB / 0.8667 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/1.176, allocations: 0.7015 MB / 0.8673 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.176, allocations: 121.3 kB / 0.8675 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/1.176, allocations: 170.4 kB / 0.8676 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.176, allocations: 338 kB / 0.8679 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/1.177, allocations: 312.6 kB / 0.8682 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/1.178, allocations: 0.7149 MB / 0.8689 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/1.18, allocations: 0.9467 MB / 0.8699 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.18, allocations: 4 kB / 0.8699 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00221/1.182, allocations: 1.064 MB / 0.8709 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.182, allocations: 18.47 kB / 0.8709 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.182, allocations: 12 kB / 0.8709 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.182, allocations: 16 kB / 0.871 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008508/1.183, allocations: 209 kB / 0.8712 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.183, allocations: 21.06 kB / 0.8712 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.184, allocations: 186.1 kB / 0.8714 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/1.184, allocations: 47.98 kB / 0.8714 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001132/1.186, allocations: 0.5721 MB / 0.872 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/1.187, allocations: 0.7046 MB / 0.8726 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001602/1.188, allocations: 0.9406 MB / 0.8736 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/1.188, allocations: 4 kB / 0.8736 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002205/1.19, allocations: 1.064 MB / 0.8746 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.191, allocations: 12.19 kB / 0.8746 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.191, allocations: 23.88 kB / 0.8746 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.191, allocations: 16 kB / 0.8747 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/1.191, allocations: 201.9 kB / 0.8748 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.191, allocations: 30.27 kB / 0.8749 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/1.193, allocations: 135.4 kB / 0.875 GB, free: 496 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/1.193, allocations: 43.98 kB / 0.875 GB, free: 452 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/1.193, allocations: 232.6 kB / 0.8753 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/1.193, allocations: 150.1 kB / 0.8754 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/1.195, allocations: 0.641 MB / 0.876 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.195, allocations: 4 kB / 0.876 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.195, allocations: 0 / 0.876 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/1.195, allocations: 7.984 kB / 0.876 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/1.198, allocations: 1.88 MB / 0.8779 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/1.198, allocations: 4 kB / 0.8779 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/1.199, allocations: 98.45 kB / 0.878 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.199, allocations: 11.94 kB / 0.878 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/1.199, allocations: 11.98 kB / 0.878 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/1.199, allocations: 8 kB / 0.878 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.199, allocations: 7.094 kB / 0.878 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/1.2, allocations: 0.8029 MB / 0.8788 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005165/1.201, allocations: 299.1 kB / 0.8791 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/1.201, allocations: 8 kB / 0.8791 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009519/1.202, allocations: 71.91 kB / 0.8792 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/1.202, allocations: 31 kB / 0.8792 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/1.202, allocations: 27.98 kB / 0.8792 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001426/1.203, allocations: 1.005 MB / 0.8802 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.6e-07/1.203, allocations: 0 / 0.8802 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001792/1.205, allocations: 0.5695 MB / 0.8808 GB, free: 10.44 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005446/1.206, allocations: 281.6 kB / 0.881 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002736/1.209, allocations: 1.141 MB / 0.8821 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.209, allocations: 0 / 0.8821 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006493/1.209, allocations: 265.4 kB / 0.8824 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.212, allocations: 0.7327 MB / 0.8831 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/1.217, allocations: 2.241 MB / 0.8853 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/1.218, allocations: 1.186 MB / 0.8865 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00139/1.219, allocations: 387.8 kB / 0.8868 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/1.22, allocations: 99.42 kB / 0.8869 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/1.22, allocations: 0 / 0.8869 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.04375/1.263, allocations: 24.99 MB / 0.9113 GB, free: 11.61 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)