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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001367/0.001367, allocations: 194.9 kB / 16.14 MB, free: 6.707 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.66 kB / 0.5011 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1987, allocations: 80.2 MB / 0.5794 GB, free: 9.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5196/0.7184, allocations: 235.4 MB / 0.8093 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.7412, allocations: 15.91 MB / 0.8248 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002487/0.7437, allocations: 59.62 kB / 0.8249 GB, free: 7.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003104/0.7469, allocations: 0.8744 MB / 0.8257 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008308/0.7553, allocations: 2.778 MB / 0.8285 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004568/0.7598, allocations: 1.513 MB / 0.8299 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005796/0.7656, allocations: 4.653 MB / 0.8345 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.7676, allocations: 1.074 MB / 0.8355 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006561/0.7741, allocations: 2.255 MB / 0.8377 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.7773, allocations: 1.127 MB / 0.8388 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004758/0.7778, allocations: 64 kB / 0.8389 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00662/0.7844, allocations: 3.601 MB / 0.8424 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007276/0.7852, allocations: 426.4 kB / 0.8428 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.7868, allocations: 0.7538 MB / 0.8435 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.7933, allocations: 3.1 MB / 0.8466 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.7933, allocations: 3.984 kB / 0.8466 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7933, allocations: 0 / 0.8466 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.993e-05/0.7934, allocations: 0 / 0.8466 GB, free: 1.469 MB / 0.6544 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.005026/0.7984, allocations: 2.007 MB / 0.8485 GB, free: 15.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7985, allocations: 12.03 kB / 0.8486 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.8018, allocations: 0.4897 MB / 0.849 GB, free: 14.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.8048, allocations: 1.121 MB / 0.8501 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.8058, allocations: 245.8 kB / 0.8504 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.8061, allocations: 100 kB / 0.8505 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.8092, allocations: 1.314 MB / 0.8517 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.8092, allocations: 3.938 kB / 0.8517 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.8093, allocations: 44 kB / 0.8518 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.956e-05/0.8094, allocations: 49.92 kB / 0.8518 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002968/0.8124, allocations: 1.077 MB / 0.8529 GB, free: 10.81 MB / 0.67 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.009839/0.8223, allocations: 6.629 MB / 0.8594 GB, free: 3.734 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.824, allocations: 0.5659 MB / 0.8599 GB, free: 3.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006766/0.8247, allocations: 273.2 kB / 0.8602 GB, free: 2.895 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.8251, allocations: 283.6 kB / 0.8604 GB, free: 2.562 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.8252, allocations: 38.84 kB / 0.8605 GB, free: 2.516 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 4.027e-06/0.8252, allocations: 3.984 kB / 0.8605 GB, free: 2.512 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002654/0.8278, allocations: 0.8576 MB / 0.8613 GB, free: 1.648 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.8279, allocations: 59.41 kB / 0.8614 GB, free: 1.578 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.83, allocations: 1.358 MB / 0.8627 GB, free: 216 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-05/0.8301, allocations: 37.7 kB / 0.8627 GB, free: 172 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3271/1.157, allocations: 0.6831 MB / 0.8634 GB, free: 227.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/1.157, allocations: 123.1 kB / 0.8635 GB, free: 227.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/1.158, allocations: 157.1 kB / 0.8637 GB, free: 227.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/1.158, allocations: 328.9 kB / 0.864 GB, free: 227 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/1.159, allocations: 319.1 kB / 0.8643 GB, free: 227 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009211/1.16, allocations: 0.6479 MB / 0.8649 GB, free: 226.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.161, allocations: 0.8723 MB / 0.8658 GB, free: 226.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.161, allocations: 2.906 kB / 0.8658 GB, free: 226.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002258/1.163, allocations: 1.018 MB / 0.8668 GB, free: 225.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/1.163, allocations: 8.906 kB / 0.8668 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.163, allocations: 9.188 kB / 0.8668 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.163, allocations: 12.38 kB / 0.8668 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/1.164, allocations: 199.3 kB / 0.867 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.164, allocations: 19.3 kB / 0.867 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.166, allocations: 218.6 kB / 0.8672 GB, free: 225.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/1.166, allocations: 43.66 kB / 0.8673 GB, free: 225.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001171/1.167, allocations: 0.5747 MB / 0.8678 GB, free: 225.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008831/1.168, allocations: 0.6441 MB / 0.8684 GB, free: 225 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001399/1.169, allocations: 0.8616 MB / 0.8693 GB, free: 224.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/1.169, allocations: 3.75 kB / 0.8693 GB, free: 224.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002063/1.171, allocations: 1.022 MB / 0.8703 GB, free: 224.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.171, allocations: 8.938 kB / 0.8703 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.171, allocations: 12.16 kB / 0.8703 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.171, allocations: 11.38 kB / 0.8703 GB, free: 224.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/1.172, allocations: 194.6 kB / 0.8705 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/1.172, allocations: 26.53 kB / 0.8705 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.173, allocations: 162.9 kB / 0.8707 GB, free: 224.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/1.174, allocations: 37.94 kB / 0.8707 GB, free: 224.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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.0002443/1.174, allocations: 231.6 kB / 0.8709 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.174, allocations: 146 kB / 0.8711 GB, free: 223.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.176, allocations: 0.6584 MB / 0.8717 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.176, allocations: 9.406 kB / 0.8717 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.176, allocations: 0 / 0.8717 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.176, allocations: 0 / 0.8717 GB, free: 223.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/1.179, allocations: 1.929 MB / 0.8736 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.179, allocations: 9.859 kB / 0.8736 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/1.179, allocations: 94.77 kB / 0.8737 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.179, allocations: 9.547 kB / 0.8737 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/1.179, allocations: 9.781 kB / 0.8737 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/1.179, allocations: 9.438 kB / 0.8737 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.179, allocations: 9.906 kB / 0.8738 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/1.181, allocations: 0.8144 MB / 0.8746 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/1.181, allocations: 294.1 kB / 0.8748 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.181, allocations: 14.16 kB / 0.8748 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.182, allocations: 93.25 kB / 0.8749 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/1.182, allocations: 37.81 kB / 0.875 GB, free: 221.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/1.183, allocations: 29 kB / 0.875 GB, free: 221.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00125/1.184, allocations: 0.9877 MB / 0.876 GB, free: 221.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.264e-06/1.184, allocations: 4 kB / 0.876 GB, free: 221.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001745/1.186, allocations: 0.571 MB / 0.8765 GB, free: 221.4 MB / 0.67 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.0005571/1.186, allocations: 266.4 kB / 0.8768 GB, free: 221.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00261/1.189, allocations: 1.101 MB / 0.8779 GB, free: 221 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.189, allocations: 256 / 0.8779 GB, free: 221 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006293/1.189, allocations: 266.6 kB / 0.8781 GB, free: 220.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.193, allocations: 0.7426 MB / 0.8788 GB, free: 220.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/1.198, allocations: 2.676 MB / 0.8814 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/1.198, allocations: 1.185 MB / 0.8826 GB, free: 218.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001636/1.2, allocations: 371.3 kB / 0.883 GB, free: 218.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002461/1.2, allocations: 95.44 kB / 0.883 GB, free: 218.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.583e-06/1.2, allocations: 0 / 0.883 GB, free: 218.4 MB / 0.67 GB Notification: Performance of Templates: time 0.05074/1.251, allocations: 24.04 MB / 0.9065 GB, free: 215.4 MB / 0.67 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)