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.005556/0.005556, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001317/0.001317, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7841/0.7841, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.8 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1675, allocations: 80.21 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.7214/0.8889, allocations: 237.5 MB / 0.8916 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.9093, allocations: 15.77 MB / 0.907 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.9133, allocations: 62.47 kB / 0.9071 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003206/0.9165, allocations: 1.07 MB / 0.9081 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009617/0.9262, allocations: 3.085 MB / 0.9111 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.9318, allocations: 1.7 MB / 0.9128 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00595/0.9377, allocations: 3.448 MB / 0.9162 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.9404, allocations: 1.296 MB / 0.9174 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00752/0.9479, allocations: 2.576 MB / 0.92 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.9504, allocations: 1.079 MB / 0.921 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.9509, allocations: 120.1 kB / 0.9211 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007414/0.9583, allocations: 3.111 MB / 0.9242 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008952/0.9592, allocations: 480.1 kB / 0.9246 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.9614, allocations: 0.819 MB / 0.9254 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00867/0.9701, allocations: 2.985 MB / 0.9283 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9701, allocations: 2.469 kB / 0.9283 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9701, allocations: 0 / 0.9283 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.966e-05/0.9702, allocations: 0 / 0.9283 GB, free: 6.855 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.005587/0.9758, allocations: 2.004 MB / 0.9303 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9759, allocations: 8.031 kB / 0.9303 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.9789, allocations: 0.4975 MB / 0.9308 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.9817, allocations: 1.167 MB / 0.9319 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.9818, allocations: 78 kB / 0.932 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.9819, allocations: 102.6 kB / 0.9321 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.9844, allocations: 1.353 MB / 0.9334 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.9844, allocations: 6.625 kB / 0.9334 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.9845, allocations: 42.11 kB / 0.9335 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.9846, allocations: 48.61 kB / 0.9335 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.9869, allocations: 1.05 MB / 0.9345 GB, free: 0.6875 MB / 0.6544 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.007655/0.9946, allocations: 7.39 MB / 0.9418 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.9961, allocations: 0.5412 MB / 0.9423 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.9968, allocations: 261.2 kB / 0.9425 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.9972, allocations: 283.6 kB / 0.9428 GB, free: 7.805 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.9972, allocations: 37.38 kB / 0.9428 GB, free: 7.762 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 2.365e-06/0.9972, allocations: 0 / 0.9428 GB, free: 7.762 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002377/0.9996, allocations: 0.8372 MB / 0.9437 GB, free: 6.918 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.9997, allocations: 65.86 kB / 0.9437 GB, free: 6.844 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/1.002, allocations: 1.391 MB / 0.9451 GB, free: 5.441 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/1.002, allocations: 33.7 kB / 0.9451 GB, free: 5.402 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000535/1.002, allocations: 0.7001 MB / 0.9458 GB, free: 4.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/1.002, allocations: 129 kB / 0.9459 GB, free: 4.578 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.003, allocations: 166.4 kB / 0.9461 GB, free: 4.41 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.003, allocations: 334 kB / 0.9464 GB, free: 4.078 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/1.004, allocations: 316.6 kB / 0.9467 GB, free: 3.766 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/1.005, allocations: 0.7085 MB / 0.9474 GB, free: 2.883 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/1.006, allocations: 0.9481 MB / 0.9483 GB, free: 1.816 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.006, allocations: 0 / 0.9483 GB, free: 1.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002439/1.009, allocations: 1.074 MB / 0.9494 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.009, allocations: 12 kB / 0.9494 GB, free: 0.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.009, allocations: 12 kB / 0.9494 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.009, allocations: 16.72 kB / 0.9494 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/1.01, allocations: 207.2 kB / 0.9496 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/1.01, allocations: 28.98 kB / 0.9496 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.011, allocations: 182.7 kB / 0.9498 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/1.011, allocations: 51.97 kB / 0.9499 GB, free: 332 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/1.013, allocations: 0.5698 MB / 0.9504 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/1.014, allocations: 0.7046 MB / 0.9511 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001705/1.016, allocations: 0.9444 MB / 0.952 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.454e-06/1.016, allocations: 4 kB / 0.952 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002354/1.018, allocations: 1.06 MB / 0.9531 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.018, allocations: 8 kB / 0.9531 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.018, allocations: 12 kB / 0.9531 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/1.018, allocations: 20 kB / 0.9531 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008328/1.019, allocations: 211.4 kB / 0.9533 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.019, allocations: 25.05 kB / 0.9533 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/1.02, allocations: 139.4 kB / 0.9535 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/1.02, allocations: 43.98 kB / 0.9535 GB, free: 12.37 MB / 0.6856 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.0002486/1.021, allocations: 232.9 kB / 0.9537 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/1.021, allocations: 146.2 kB / 0.9539 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.022, allocations: 0.6403 MB / 0.9545 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.022, allocations: 4 kB / 0.9545 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.022, allocations: 3.938 kB / 0.9545 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.023, allocations: 7.984 kB / 0.9545 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/1.026, allocations: 1.881 MB / 0.9563 GB, free: 9.379 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.026, allocations: 4 kB / 0.9563 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/1.027, allocations: 93.2 kB / 0.9564 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/1.027, allocations: 8 kB / 0.9564 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/1.027, allocations: 8 kB / 0.9564 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/1.027, allocations: 11.98 kB / 0.9565 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.027, allocations: 10.47 kB / 0.9565 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/1.028, allocations: 0.797 MB / 0.9572 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/1.029, allocations: 299.1 kB / 0.9575 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.029, allocations: 12 kB / 0.9575 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.03, allocations: 71.86 kB / 0.9576 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/1.03, allocations: 34.58 kB / 0.9576 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/1.031, allocations: 23.98 kB / 0.9577 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001549/1.032, allocations: 1.005 MB / 0.9586 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/1.032, allocations: 0 / 0.9586 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002025/1.034, allocations: 0.5773 MB / 0.9592 GB, free: 6.367 MB / 0.6856 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.0006653/1.035, allocations: 270.5 kB / 0.9595 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.038, allocations: 1.151 MB / 0.9606 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.038, allocations: 3.938 kB / 0.9606 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/1.038, allocations: 257.2 kB / 0.9608 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/1.042, allocations: 0.7389 MB / 0.9616 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/1.047, allocations: 2.237 MB / 0.9637 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/1.047, allocations: 1.186 MB / 0.9649 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001339/1.049, allocations: 391.8 kB / 0.9653 GB, free: 192 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.049, allocations: 95.42 kB / 0.9654 GB, free: 96 kB / 0.6856 GB Notification: Performance of SimCode: time 7.02e-07/1.049, allocations: 0 / 0.9654 GB, free: 96 kB / 0.6856 GB Notification: Performance of Templates: time 0.04006/1.089, allocations: 25.16 MB / 0.9899 GB, free: 7.391 MB / 0.7169 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)