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.006517/0.006518, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001329/0.001329, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7998/0.7998, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 60.25 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1569, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.6854/0.8423, allocations: 237.5 MB / 0.8916 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.8665, allocations: 15.77 MB / 0.907 GB, free: 8.605 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.8698, allocations: 59.62 kB / 0.9071 GB, free: 8.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.8736, allocations: 1.037 MB / 0.9081 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009666/0.8833, allocations: 2.956 MB / 0.911 GB, free: 4.535 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.8888, allocations: 1.698 MB / 0.9126 GB, free: 2.859 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006437/0.8952, allocations: 3.438 MB / 0.916 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.8978, allocations: 1.287 MB / 0.9173 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008084/0.9059, allocations: 2.506 MB / 0.9197 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.9087, allocations: 1.066 MB / 0.9207 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000279/0.909, allocations: 120 kB / 0.9209 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006586/0.9155, allocations: 3.094 MB / 0.9239 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007/0.9163, allocations: 486.3 kB / 0.9243 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.9177, allocations: 0.8085 MB / 0.9251 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007714/0.9254, allocations: 2.998 MB / 0.9281 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9254, allocations: 4 kB / 0.9281 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9255, allocations: 0 / 0.9281 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.9255, allocations: 0 / 0.9281 GB, free: 3.012 MB / 0.6856 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.004119/0.9296, allocations: 2.068 MB / 0.9301 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.9297, allocations: 8.031 kB / 0.9301 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.9324, allocations: 0.5024 MB / 0.9306 GB, free: 384 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.9348, allocations: 1.189 MB / 0.9317 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/0.9349, allocations: 74 kB / 0.9318 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.935, allocations: 101 kB / 0.9319 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.9374, allocations: 1.358 MB / 0.9332 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.9375, allocations: 7.922 kB / 0.9332 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.9376, allocations: 40 kB / 0.9333 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.9377, allocations: 53.92 kB / 0.9333 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.94, allocations: 1.046 MB / 0.9344 GB, free: 12.33 MB / 0.7012 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.008039/0.9481, allocations: 7.396 MB / 0.9416 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.9496, allocations: 0.5464 MB / 0.9421 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005953/0.9502, allocations: 261.2 kB / 0.9424 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003775/0.9506, allocations: 291.5 kB / 0.9426 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.9507, allocations: 34.84 kB / 0.9427 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.9507, allocations: 0 / 0.9427 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002355/0.953, allocations: 0.8416 MB / 0.9435 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.9531, allocations: 55.41 kB / 0.9435 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.955, allocations: 1.399 MB / 0.9449 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.955, allocations: 33.7 kB / 0.9449 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006468/0.9557, allocations: 0.7079 MB / 0.9456 GB, free: 200 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.9558, allocations: 134.9 kB / 0.9458 GB, free: 64 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.9561, allocations: 174.7 kB / 0.9459 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9562, allocations: 334 kB / 0.9463 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.957, allocations: 320.5 kB / 0.9466 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.9581, allocations: 0.7073 MB / 0.9472 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.9599, allocations: 0.9467 MB / 0.9482 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9599, allocations: 4 kB / 0.9482 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002347/0.9622, allocations: 1.07 MB / 0.9492 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.9623, allocations: 8 kB / 0.9492 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.9623, allocations: 12 kB / 0.9492 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.9623, allocations: 20 kB / 0.9493 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.9632, allocations: 208.1 kB / 0.9495 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/0.9632, allocations: 31.91 kB / 0.9495 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.9645, allocations: 189.5 kB / 0.9497 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.9646, allocations: 43.98 kB / 0.9497 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001265/0.9659, allocations: 0.576 MB / 0.9503 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.967, allocations: 0.711 MB / 0.951 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.9686, allocations: 0.9381 MB / 0.9519 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.9686, allocations: 4 kB / 0.9519 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002259/0.9709, allocations: 1.071 MB / 0.9529 GB, free: 8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.9709, allocations: 12.03 kB / 0.9529 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.971, allocations: 15.94 kB / 0.953 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.971, allocations: 16 kB / 0.953 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/0.9718, allocations: 211.7 kB / 0.9532 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.9718, allocations: 27.86 kB / 0.9532 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.973, allocations: 135.5 kB / 0.9533 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.9731, allocations: 47.98 kB / 0.9534 GB, free: 7.543 MB / 0.7169 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.000284/0.9734, allocations: 232 kB / 0.9536 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.9736, allocations: 147.1 kB / 0.9537 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.9753, allocations: 0.6455 MB / 0.9544 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9753, allocations: 4 kB / 0.9544 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9753, allocations: 0 / 0.9544 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9753, allocations: 3.984 kB / 0.9544 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.979, allocations: 1.883 MB / 0.9562 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.979, allocations: 4 kB / 0.9562 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.9795, allocations: 96.05 kB / 0.9563 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-06/0.9795, allocations: 4 kB / 0.9563 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.9795, allocations: 16 kB / 0.9563 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.9796, allocations: 15.92 kB / 0.9563 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9796, allocations: 4.188 kB / 0.9563 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.9811, allocations: 0.8103 MB / 0.9571 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/0.9817, allocations: 311.9 kB / 0.9574 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.9819, allocations: 8 kB / 0.9574 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009937/0.9829, allocations: 67.92 kB / 0.9575 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.983, allocations: 39.83 kB / 0.9575 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-05/0.983, allocations: 19.98 kB / 0.9576 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001586/0.9846, allocations: 1.001 MB / 0.9585 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9846, allocations: 4 kB / 0.9585 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001902/0.9866, allocations: 0.5774 MB / 0.9591 GB, free: 1.453 MB / 0.7169 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.0006245/0.9872, allocations: 265.6 kB / 0.9594 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002949/0.9901, allocations: 1.149 MB / 0.9605 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.9902, allocations: 4.25 kB / 0.9605 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006834/0.9909, allocations: 254.2 kB / 0.9607 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/0.9944, allocations: 0.739 MB / 0.9615 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/0.9998, allocations: 2.282 MB / 0.9637 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.001, allocations: 1.182 MB / 0.9648 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001641/1.003, allocations: 395.8 kB / 0.9652 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.003, allocations: 99.36 kB / 0.9653 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.82e-07/1.003, allocations: 0 / 0.9653 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.04479/1.048, allocations: 25.16 MB / 0.9899 GB, free: 2.152 MB / 0.7481 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)