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.001306/0.001306, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.62 kB / 0.5018 GB, free: 8.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 80.21 MB / 0.5801 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4634/0.6048, allocations: 237.5 MB / 0.812 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.6245, allocations: 15.78 MB / 0.8275 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.6272, allocations: 55.69 kB / 0.8275 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.63, allocations: 1.037 MB / 0.8285 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.6381, allocations: 2.956 MB / 0.8314 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.6429, allocations: 1.685 MB / 0.833 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004959/0.6479, allocations: 3.428 MB / 0.8364 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.6498, allocations: 1.295 MB / 0.8377 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005858/0.6557, allocations: 2.484 MB / 0.8401 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.6578, allocations: 1.081 MB / 0.8411 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.6581, allocations: 120 kB / 0.8413 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005553/0.6636, allocations: 3.094 MB / 0.8443 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.6642, allocations: 478.5 kB / 0.8447 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.6652, allocations: 0.8124 MB / 0.8455 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.67, allocations: 2.949 MB / 0.8484 GB, free: 15.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6701, allocations: 0 / 0.8484 GB, free: 15.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.542e-06/0.6701, allocations: 0 / 0.8484 GB, free: 15.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.6701, allocations: 4 kB / 0.8484 GB, free: 15.81 MB / 0.67 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.003325/0.6734, allocations: 2.007 MB / 0.8504 GB, free: 13.75 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.6735, allocations: 8.031 kB / 0.8504 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.6761, allocations: 0.4975 MB / 0.8509 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.6781, allocations: 1.114 MB / 0.852 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008751/0.679, allocations: 241.8 kB / 0.8522 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.6791, allocations: 96 kB / 0.8523 GB, free: 11.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.6814, allocations: 1.369 MB / 0.8536 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.6814, allocations: 7.938 kB / 0.8536 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.6815, allocations: 43.94 kB / 0.8537 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.6816, allocations: 49.98 kB / 0.8537 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.6839, allocations: 1.077 MB / 0.8548 GB, free: 9.07 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.007234/0.6912, allocations: 7.443 MB / 0.862 GB, free: 1.148 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.6929, allocations: 0.5737 MB / 0.8626 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006355/0.6935, allocations: 273.2 kB / 0.8629 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.261/0.9545, allocations: 280.4 kB / 0.8631 GB, free: 227.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.9546, allocations: 37.23 kB / 0.8632 GB, free: 227.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.946e-06/0.9546, allocations: 0.75 kB / 0.8632 GB, free: 227.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002644/0.9573, allocations: 0.865 MB / 0.864 GB, free: 227.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.9573, allocations: 54.34 kB / 0.8641 GB, free: 227.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.9588, allocations: 1.399 MB / 0.8654 GB, free: 227.1 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.9589, allocations: 36.77 kB / 0.8655 GB, free: 227.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003533/0.9593, allocations: 0.6991 MB / 0.8661 GB, free: 226.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.9593, allocations: 127.3 kB / 0.8663 GB, free: 226.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.9595, allocations: 173.8 kB / 0.8664 GB, free: 226.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.9596, allocations: 336.3 kB / 0.8667 GB, free: 226.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.9604, allocations: 330.9 kB / 0.8671 GB, free: 226.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009144/0.9613, allocations: 0.7244 MB / 0.8678 GB, free: 225.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.9629, allocations: 0.96 MB / 0.8687 GB, free: 224.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.9629, allocations: 6.219 kB / 0.8687 GB, free: 224.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002186/0.9651, allocations: 1.103 MB / 0.8698 GB, free: 224.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.9651, allocations: 11.78 kB / 0.8698 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.9651, allocations: 13.97 kB / 0.8698 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.9652, allocations: 15.97 kB / 0.8698 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.966, allocations: 217.3 kB / 0.87 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.966, allocations: 22.62 kB / 0.8701 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9673, allocations: 195.5 kB / 0.8702 GB, free: 224.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.9673, allocations: 48.38 kB / 0.8703 GB, free: 224.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001144/0.9685, allocations: 0.5826 MB / 0.8709 GB, free: 224.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009979/0.9695, allocations: 0.7209 MB / 0.8716 GB, free: 223.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001605/0.9711, allocations: 0.9704 MB / 0.8725 GB, free: 223.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.9711, allocations: 3.344 kB / 0.8725 GB, free: 223.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002381/0.9735, allocations: 1.09 MB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.9736, allocations: 8.656 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9736, allocations: 13.3 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9736, allocations: 18.16 kB / 0.8736 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.9744, allocations: 217.5 kB / 0.8738 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.9744, allocations: 27.58 kB / 0.8738 GB, free: 222.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.9758, allocations: 146.8 kB / 0.874 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.9759, allocations: 42.44 kB / 0.874 GB, free: 222.6 MB / 0.67 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.0002458/0.9761, allocations: 242.3 kB / 0.8743 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.9763, allocations: 141.7 kB / 0.8744 GB, free: 222.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.9779, allocations: 0.6631 MB / 0.875 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.9779, allocations: 3.344 kB / 0.875 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.9779, allocations: 3.375 kB / 0.875 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.9779, allocations: 4.875 kB / 0.8751 GB, free: 222.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.981, allocations: 1.914 MB / 0.8769 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9811, allocations: 3.25 kB / 0.8769 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.9815, allocations: 96.89 kB / 0.877 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.9815, allocations: 4.969 kB / 0.877 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.9816, allocations: 11.34 kB / 0.877 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.9816, allocations: 8.609 kB / 0.877 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.9816, allocations: 10.75 kB / 0.8771 GB, free: 221.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.9829, allocations: 0.8192 MB / 0.8779 GB, free: 220.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.9833, allocations: 303.1 kB / 0.8781 GB, free: 220.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/0.9835, allocations: 16.73 kB / 0.8782 GB, free: 220.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.9844, allocations: 71.56 kB / 0.8782 GB, free: 220.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.922e-05/0.9845, allocations: 36.56 kB / 0.8783 GB, free: 220.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.9846, allocations: 30.81 kB / 0.8783 GB, free: 220.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001208/0.9858, allocations: 1.008 MB / 0.8793 GB, free: 220 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9858, allocations: 0 / 0.8793 GB, free: 220 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001594/0.9874, allocations: 0.5729 MB / 0.8798 GB, free: 219.9 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.000537/0.9879, allocations: 262.2 kB / 0.8801 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002696/0.9907, allocations: 1.195 MB / 0.8813 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9907, allocations: 6.688 kB / 0.8813 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006147/0.9913, allocations: 253.2 kB / 0.8815 GB, free: 219.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/0.9943, allocations: 0.7444 MB / 0.8822 GB, free: 219.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.9983, allocations: 2.298 MB / 0.8845 GB, free: 218 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.9989, allocations: 1.181 MB / 0.8856 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001475/1, allocations: 384.4 kB / 0.886 GB, free: 217.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.001, allocations: 103.6 kB / 0.8861 GB, free: 217.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/1.001, allocations: 2.625 kB / 0.8861 GB, free: 217.2 MB / 0.67 GB Notification: Performance of Templates: time 0.04908/1.05, allocations: 25.02 MB / 0.9105 GB, free: 213.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)