Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007413/0.007413, allocations: 103 kB / 15.73 MB, free: 5.492 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.00144/0.00144, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8069/0.8069, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 70.12 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 80.92 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5866/0.7271, allocations: 237.5 MB / 0.8966 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.7497, allocations: 15.77 MB / 0.912 GB, free: 1.707 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.7523, allocations: 63.62 kB / 0.9121 GB, free: 1.645 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.7554, allocations: 1.084 MB / 0.9131 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008224/0.7637, allocations: 3.077 MB / 0.9161 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.7684, allocations: 1.708 MB / 0.9178 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006066/0.7745, allocations: 3.437 MB / 0.9211 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.7772, allocations: 1.294 MB / 0.9224 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.7841, allocations: 2.579 MB / 0.9249 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002354/0.7865, allocations: 1.082 MB / 0.926 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.7869, allocations: 120 kB / 0.9261 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.7928, allocations: 3.106 MB / 0.9291 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.7935, allocations: 478.5 kB / 0.9296 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.795, allocations: 0.8123 MB / 0.9304 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.8006, allocations: 2.984 MB / 0.9333 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8006, allocations: 0 / 0.9333 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8006, allocations: 0 / 0.9333 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.93e-05/0.8007, allocations: 4 kB / 0.9333 GB, free: 11.84 MB / 0.7012 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.004217/0.8049, allocations: 2.009 MB / 0.9353 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.805, allocations: 13.05 kB / 0.9353 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.8078, allocations: 0.4937 MB / 0.9357 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.8102, allocations: 1.164 MB / 0.9369 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.032e-05/0.8103, allocations: 82 kB / 0.937 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.8105, allocations: 108 kB / 0.9371 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.813, allocations: 1.346 MB / 0.9384 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.813, allocations: 7.938 kB / 0.9384 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.8132, allocations: 44 kB / 0.9384 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.565e-05/0.8132, allocations: 41.98 kB / 0.9385 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002415/0.8156, allocations: 1.054 MB / 0.9395 GB, free: 5.246 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.00824/0.8239, allocations: 7.391 MB / 0.9467 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.8254, allocations: 0.5464 MB / 0.9473 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.826, allocations: 257.2 kB / 0.9475 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.8264, allocations: 291.6 kB / 0.9478 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.8265, allocations: 34.84 kB / 0.9478 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.8265, allocations: 0 / 0.9478 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.002291/0.8288, allocations: 0.8438 MB / 0.9486 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.8288, allocations: 51.41 kB / 0.9487 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8307, allocations: 1.391 MB / 0.95 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.8308, allocations: 37.7 kB / 0.9501 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.8314, allocations: 0.6987 MB / 0.9508 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.8315, allocations: 122.3 kB / 0.9509 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.8318, allocations: 170.4 kB / 0.951 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8319, allocations: 334 kB / 0.9514 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.8327, allocations: 324.6 kB / 0.9517 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.8338, allocations: 0.7034 MB / 0.9524 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.8354, allocations: 0.9462 MB / 0.9533 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.8355, allocations: 4 kB / 0.9533 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002269/0.8377, allocations: 1.074 MB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.8378, allocations: 12 kB / 0.9543 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.8378, allocations: 12 kB / 0.9544 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.8378, allocations: 16 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.8387, allocations: 203.7 kB / 0.9546 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.8387, allocations: 27.86 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.8399, allocations: 182.7 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.382e-05/0.8399, allocations: 43.98 kB / 0.9548 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001078/0.841, allocations: 0.572 MB / 0.9554 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.8421, allocations: 0.7111 MB / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001584/0.8437, allocations: 0.9419 MB / 0.957 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.8437, allocations: 0 / 0.957 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002151/0.8458, allocations: 1.067 MB / 0.958 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.8459, allocations: 12 kB / 0.958 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8459, allocations: 12.84 kB / 0.958 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8459, allocations: 16 kB / 0.9581 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.8467, allocations: 215.6 kB / 0.9583 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.8467, allocations: 31.86 kB / 0.9583 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.8479, allocations: 134.9 kB / 0.9584 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.848, allocations: 43.98 kB / 0.9585 GB, free: 0.5039 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.000229/0.8482, allocations: 239.8 kB / 0.9587 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.8484, allocations: 146.2 kB / 0.9588 GB, free: 120 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.85, allocations: 0.6405 MB / 0.9595 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.85, allocations: 4 kB / 0.9595 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.85, allocations: 4 kB / 0.9595 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.85, allocations: 3.984 kB / 0.9595 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.8533, allocations: 1.892 MB / 0.9613 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.8533, allocations: 4 kB / 0.9613 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.8538, allocations: 83.86 kB / 0.9614 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.8538, allocations: 8 kB / 0.9614 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.8539, allocations: 8.156 kB / 0.9614 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.495e-06/0.8539, allocations: 15.98 kB / 0.9614 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8539, allocations: 7.938 kB / 0.9614 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.8553, allocations: 0.7995 MB / 0.9622 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/0.8558, allocations: 299 kB / 0.9625 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.856, allocations: 8 kB / 0.9625 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009617/0.8569, allocations: 67.92 kB / 0.9626 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.857, allocations: 39.83 kB / 0.9626 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.8571, allocations: 19.98 kB / 0.9626 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001485/0.8586, allocations: 1.009 MB / 0.9636 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8586, allocations: 0 / 0.9636 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001979/0.8606, allocations: 0.5695 MB / 0.9642 GB, free: 10.44 MB / 0.7325 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.0006068/0.8612, allocations: 274.2 kB / 0.9644 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.8639, allocations: 1.132 MB / 0.9655 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.629e-05/0.864, allocations: 7.938 kB / 0.9656 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.8646, allocations: 257.4 kB / 0.9658 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002941/0.8676, allocations: 0.7358 MB / 0.9665 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004939/0.8725, allocations: 2.254 MB / 0.9687 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009489/0.8735, allocations: 1.182 MB / 0.9699 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001286/0.8748, allocations: 387.8 kB / 0.9702 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.8751, allocations: 95.42 kB / 0.9703 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/0.8751, allocations: 0 / 0.9703 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Templates: time 0.04129/0.9164, allocations: 25.16 MB / 0.9949 GB, free: 11.14 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)