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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.055/1.055, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 403.3 MB, free: 7.008 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 109.1 kB / 484.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001075, allocations: 51.92 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.148, allocations: 80.21 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5783/0.7264, allocations: 235.4 MB / 0.87 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.7473, allocations: 15.92 MB / 0.8856 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.751, allocations: 59.62 kB / 0.8856 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.7545, allocations: 0.8705 MB / 0.8865 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007703/0.7622, allocations: 2.784 MB / 0.8892 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004124/0.7664, allocations: 1.516 MB / 0.8907 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005671/0.7721, allocations: 4.67 MB / 0.8952 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.7737, allocations: 1.082 MB / 0.8963 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006175/0.7799, allocations: 2.269 MB / 0.8985 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.7828, allocations: 1.13 MB / 0.8996 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002599/0.7831, allocations: 64 kB / 0.8997 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/0.7894, allocations: 3.585 MB / 0.9032 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.79, allocations: 430.4 kB / 0.9036 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.7912, allocations: 0.7576 MB / 0.9043 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.7964, allocations: 3.1 MB / 0.9074 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.7965, allocations: 0 / 0.9074 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7965, allocations: 4 kB / 0.9074 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.32e-05/0.7965, allocations: 0 / 0.9074 GB, free: 1.199 MB / 0.6355 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.00351/0.8, allocations: 2.001 MB / 0.9093 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.8001, allocations: 12.03 kB / 0.9093 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.8027, allocations: 0.4936 MB / 0.9098 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.8049, allocations: 1.117 MB / 0.9109 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009393/0.8059, allocations: 241.8 kB / 0.9111 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.806, allocations: 100 kB / 0.9112 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.8084, allocations: 1.322 MB / 0.9125 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.8085, allocations: 7.938 kB / 0.9125 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/0.8086, allocations: 44 kB / 0.9126 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.075e-05/0.8086, allocations: 45.98 kB / 0.9126 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.8112, allocations: 1.069 MB / 0.9137 GB, free: 10.55 MB / 0.6511 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.007982/0.8192, allocations: 6.631 MB / 0.9201 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.8209, allocations: 0.5698 MB / 0.9207 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006807/0.8216, allocations: 269.2 kB / 0.9209 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003823/0.822, allocations: 291.5 kB / 0.9212 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.8221, allocations: 34.84 kB / 0.9213 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 4.208e-06/0.8221, allocations: 0 / 0.9213 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002653/0.8247, allocations: 0.8759 MB / 0.9221 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.8248, allocations: 51.41 kB / 0.9222 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/0.8267, allocations: 1.362 MB / 0.9235 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.868e-05/0.8269, allocations: 37.7 kB / 0.9235 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/0.8274, allocations: 0.6793 MB / 0.9242 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.8275, allocations: 122.4 kB / 0.9243 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.8278, allocations: 154 kB / 0.9245 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8279, allocations: 330 kB / 0.9248 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008931/0.8288, allocations: 323.2 kB / 0.9251 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.8299, allocations: 0.6482 MB / 0.9257 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.8317, allocations: 0.871 MB / 0.9266 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.8317, allocations: 8 kB / 0.9266 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00269/0.8344, allocations: 1.015 MB / 0.9276 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.8344, allocations: 8 kB / 0.9276 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8344, allocations: 12 kB / 0.9276 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.8345, allocations: 12 kB / 0.9276 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.8353, allocations: 195.8 kB / 0.9278 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.8354, allocations: 23.92 kB / 0.9278 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.8369, allocations: 214.7 kB / 0.928 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.837, allocations: 43.98 kB / 0.928 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001313/0.8383, allocations: 0.5675 MB / 0.9286 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001116/0.8394, allocations: 0.6521 MB / 0.9292 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/0.8411, allocations: 0.8595 MB / 0.9301 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.51e-06/0.8412, allocations: 8 kB / 0.9301 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002418/0.8436, allocations: 1.019 MB / 0.9311 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8436, allocations: 12.78 kB / 0.9311 GB, free: 7.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8436, allocations: 8 kB / 0.9311 GB, free: 7.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8436, allocations: 16 kB / 0.9311 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.8445, allocations: 199.7 kB / 0.9313 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.8445, allocations: 15.94 kB / 0.9313 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.8459, allocations: 161.7 kB / 0.9315 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.8459, allocations: 39.98 kB / 0.9315 GB, free: 7.09 MB / 0.6667 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.000246/0.8462, allocations: 237.2 kB / 0.9317 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.8464, allocations: 138.3 kB / 0.9319 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.8481, allocations: 0.6556 MB / 0.9325 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8482, allocations: 4 kB / 0.9325 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8482, allocations: 0 / 0.9325 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.8482, allocations: 3.984 kB / 0.9325 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.8518, allocations: 1.929 MB / 0.9344 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.8518, allocations: 4 kB / 0.9344 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.8523, allocations: 104 kB / 0.9345 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.996e-06/0.8523, allocations: 7.984 kB / 0.9345 GB, free: 3.883 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.8524, allocations: 12 kB / 0.9345 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.8524, allocations: 4 kB / 0.9345 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8524, allocations: 4 kB / 0.9345 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/0.8553, allocations: 1.925 MB / 0.9364 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.8558, allocations: 299.1 kB / 0.9367 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.856, allocations: 20 kB / 0.9367 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.8571, allocations: 91.89 kB / 0.9368 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.8572, allocations: 35.84 kB / 0.9368 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.8572, allocations: 19.98 kB / 0.9369 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001359/0.8586, allocations: 0.9886 MB / 0.9378 GB, free: 376 kB / 0.6667 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8586, allocations: 4 kB / 0.9378 GB, free: 372 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00188/0.8605, allocations: 0.5811 MB / 0.9384 GB, free: 15.78 MB / 0.6823 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.0005417/0.861, allocations: 256.5 kB / 0.9386 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.8639, allocations: 1.101 MB / 0.9397 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.864, allocations: 0 / 0.9397 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.8647, allocations: 263.2 kB / 0.94 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/0.8684, allocations: 0.7431 MB / 0.9407 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.8736, allocations: 2.909 MB / 0.9435 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.8744, allocations: 1.201 MB / 0.9447 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001627/0.876, allocations: 359.5 kB / 0.945 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.8763, allocations: 99.34 kB / 0.9451 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/0.8763, allocations: 0 / 0.9451 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.3009/1.177, allocations: 24.58 MB / 0.9691 GB, free: 255.6 MB / 0.6823 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)