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.0009145/0.0009146, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001125/0.001125, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.3 MB / 423.4 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002938, allocations: 8 kB / 0.5034 GB, free: 4.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3384, allocations: 81.58 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.2051/0.5436, allocations: 216.7 MB / 0.7947 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.5609, allocations: 14.71 MB / 0.809 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.5624, allocations: 55.62 kB / 0.8091 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.5642, allocations: 0.6597 MB / 0.8097 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005055/0.5693, allocations: 2.13 MB / 0.8118 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.5724, allocations: 1.25 MB / 0.813 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004143/0.5766, allocations: 3.959 MB / 0.8169 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3028/0.8793, allocations: 0.9244 MB / 0.8178 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/0.8849, allocations: 1.916 MB / 0.8197 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.8872, allocations: 1.008 MB / 0.8206 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.8876, allocations: 48.38 kB / 0.8207 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004853/0.8925, allocations: 1.907 MB / 0.8225 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007106/0.8932, allocations: 396.2 kB / 0.8229 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007506/0.894, allocations: 333.7 kB / 0.8232 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.8969, allocations: 2.031 MB / 0.8252 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8969, allocations: 0.8438 kB / 0.8252 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8969, allocations: 0 / 0.8252 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.981e-05/0.897, allocations: 4 kB / 0.8252 GB, free: 10.16 MB / 0.6387 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.004073/0.9011, allocations: 1.729 MB / 0.8269 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.9011, allocations: 8.188 kB / 0.8269 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.9038, allocations: 0.5341 MB / 0.8274 GB, free: 25.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.9061, allocations: 1.076 MB / 0.8285 GB, free: 24.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008133/0.9069, allocations: 269 kB / 0.8288 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.9071, allocations: 105.8 kB / 0.8289 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.9095, allocations: 1.326 MB / 0.8302 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.9095, allocations: 1.469 kB / 0.8302 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.9096, allocations: 44.58 kB / 0.8302 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.505e-05/0.9097, allocations: 49 kB / 0.8302 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.912, allocations: 1.106 MB / 0.8313 GB, free: 24.38 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.006688/0.9187, allocations: 6.664 MB / 0.8378 GB, free: 20.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.9202, allocations: 0.5932 MB / 0.8384 GB, free: 20.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006011/0.9208, allocations: 287.6 kB / 0.8387 GB, free: 20.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003564/0.9212, allocations: 290.2 kB / 0.839 GB, free: 19.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.9212, allocations: 35.94 kB / 0.839 GB, free: 19.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.9212, allocations: 3.688 kB / 0.839 GB, free: 19.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.002074/0.9233, allocations: 0.9076 MB / 0.8399 GB, free: 19.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9233, allocations: 55 kB / 0.8399 GB, free: 19.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.9248, allocations: 1.35 MB / 0.8413 GB, free: 19.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.9248, allocations: 38.03 kB / 0.8413 GB, free: 19.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.9252, allocations: 0.681 MB / 0.842 GB, free: 19.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.359e-05/0.9253, allocations: 121.5 kB / 0.8421 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.9253, allocations: 19.25 kB / 0.8421 GB, free: 19.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9254, allocations: 329.5 kB / 0.8424 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.9261, allocations: 328.9 kB / 0.8427 GB, free: 18.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.927, allocations: 0.6617 MB / 0.8434 GB, free: 18.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.9278, allocations: 400.7 kB / 0.8437 GB, free: 18.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.9278, allocations: 2.438 kB / 0.8437 GB, free: 18.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001859/0.9296, allocations: 1.047 MB / 0.8448 GB, free: 18.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.9298, allocations: 376.6 kB / 0.8451 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9298, allocations: 8.594 kB / 0.8451 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.9298, allocations: 17.41 kB / 0.8452 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.9306, allocations: 208.8 kB / 0.8454 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.9306, allocations: 15.28 kB / 0.8454 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.9318, allocations: 237.2 kB / 0.8456 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.9319, allocations: 40.95 kB / 0.8456 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/0.9319, allocations: 3.156 kB / 0.8456 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/0.9336, allocations: 0.9013 MB / 0.8465 GB, free: 17.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9336, allocations: 11.56 kB / 0.8465 GB, free: 17.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.9336, allocations: 14.44 kB / 0.8465 GB, free: 17.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/0.9344, allocations: 204.1 kB / 0.8467 GB, free: 17.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.9344, allocations: 24.42 kB / 0.8468 GB, free: 17.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009447/0.9353, allocations: 214.3 kB / 0.847 GB, free: 17.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.9354, allocations: 40.09 kB / 0.847 GB, free: 17.58 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004625/0.9359, allocations: 413.6 kB / 0.8474 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.936, allocations: 140.1 kB / 0.8475 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.9374, allocations: 0.6735 MB / 0.8482 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9374, allocations: 5.062 kB / 0.8482 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9374, allocations: 3.953 kB / 0.8482 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9375, allocations: 2.906 kB / 0.8482 GB, free: 17.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/0.9403, allocations: 1.94 MB / 0.8501 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.9403, allocations: 11 kB / 0.8501 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.9408, allocations: 109.1 kB / 0.8502 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9408, allocations: 5.938 kB / 0.8502 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.9408, allocations: 13.22 kB / 0.8502 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.9408, allocations: 5.781 kB / 0.8502 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.9408, allocations: 6.188 kB / 0.8502 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.9421, allocations: 0.8495 MB / 0.8511 GB, free: 16.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.9424, allocations: 287.6 kB / 0.8513 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.9426, allocations: 15.7 kB / 0.8514 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008526/0.9435, allocations: 100.7 kB / 0.8515 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.9436, allocations: 41.28 kB / 0.8515 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.9436, allocations: 20.47 kB / 0.8515 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001078/0.9447, allocations: 0.9308 MB / 0.8524 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.62e-07/0.9447, allocations: 0 / 0.8524 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001401/0.9461, allocations: 0.5757 MB / 0.853 GB, free: 16.02 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000447/0.9466, allocations: 255 kB / 0.8532 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.9488, allocations: 1.157 MB / 0.8544 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9488, allocations: 1.781 kB / 0.8544 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/0.9494, allocations: 276.2 kB / 0.8546 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.9518, allocations: 0.6302 MB / 0.8552 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.9555, allocations: 2.655 MB / 0.8578 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.9561, allocations: 1.189 MB / 0.859 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001299/0.9575, allocations: 355.7 kB / 0.8593 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.9577, allocations: 92.31 kB / 0.8594 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.9577, allocations: 4 kB / 0.8594 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.02958/0.9873, allocations: 21.33 MB / 0.8803 GB, free: 7.789 MB / 0.6544 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)