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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, 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-master/package.mo): time 0.7047/0.7047, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.369/1.369, allocations: 222.9 MB / 404.7 MB, free: 6.047 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.00123/0.00123, allocations: 107.3 kB / 485.9 MB, free: 7.172 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1411, allocations: 80.42 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.5376/0.6787, allocations: 235.4 MB / 0.872 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.6985, allocations: 15.91 MB / 0.8875 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.7008, allocations: 59.62 kB / 0.8876 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.7032, allocations: 0.8666 MB / 0.8884 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.7104, allocations: 2.788 MB / 0.8912 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.7145, allocations: 1.513 MB / 0.8926 GB, free: 416 kB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.7199, allocations: 4.672 MB / 0.8972 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.7215, allocations: 1.082 MB / 0.8982 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.7279, allocations: 2.276 MB / 0.9005 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.7308, allocations: 1.125 MB / 0.9016 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.7311, allocations: 64 kB / 0.9016 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006318/0.7374, allocations: 3.601 MB / 0.9051 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000653/0.7381, allocations: 422.5 kB / 0.9056 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.7393, allocations: 0.7538 MB / 0.9063 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.7447, allocations: 3.108 MB / 0.9093 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.7447, allocations: 0 / 0.9093 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7447, allocations: 0 / 0.9093 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.437e-05/0.7448, allocations: 0 / 0.9093 GB, free: 15.25 MB / 0.6511 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.003551/0.7483, allocations: 1.993 MB / 0.9113 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7484, allocations: 12.03 kB / 0.9113 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.7509, allocations: 0.4975 MB / 0.9118 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.753, allocations: 1.121 MB / 0.9129 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009372/0.754, allocations: 241.8 kB / 0.9131 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7541, allocations: 99.98 kB / 0.9132 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.7565, allocations: 1.322 MB / 0.9145 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7565, allocations: 0 / 0.9145 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/0.7566, allocations: 40 kB / 0.9145 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.7567, allocations: 49.94 kB / 0.9146 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.7591, allocations: 1.069 MB / 0.9156 GB, free: 8.609 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.007585/0.7667, allocations: 6.642 MB / 0.9221 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7685, allocations: 0.5698 MB / 0.9227 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.7692, allocations: 269.2 kB / 0.9229 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003967/0.7696, allocations: 283.6 kB / 0.9232 GB, free: 356 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.7696, allocations: 34.84 kB / 0.9232 GB, free: 312 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.798e-06/0.7697, allocations: 4 kB / 0.9232 GB, free: 308 kB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.002541/0.7722, allocations: 0.8596 MB / 0.9241 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7722, allocations: 59.34 kB / 0.9241 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.774, allocations: 1.358 MB / 0.9254 GB, free: 14 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.7741, allocations: 37.7 kB / 0.9255 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.7746, allocations: 0.6871 MB / 0.9261 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.7747, allocations: 122.4 kB / 0.9263 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.7749, allocations: 158 kB / 0.9264 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7751, allocations: 334 kB / 0.9267 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.776, allocations: 319.2 kB / 0.927 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.7771, allocations: 0.6404 MB / 0.9277 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.7789, allocations: 0.8749 MB / 0.9285 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7789, allocations: 4 kB / 0.9285 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002388/0.7813, allocations: 1.018 MB / 0.9295 GB, free: 9.496 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7813, allocations: 8.938 kB / 0.9295 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7813, allocations: 12 kB / 0.9295 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.7813, allocations: 12 kB / 0.9295 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/0.7822, allocations: 204.4 kB / 0.9297 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.7822, allocations: 23.92 kB / 0.9298 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.7836, allocations: 212.4 kB / 0.93 GB, free: 9.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/0.7836, allocations: 39.98 kB / 0.93 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00122/0.7849, allocations: 0.5727 MB / 0.9306 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001053/0.7859, allocations: 0.6443 MB / 0.9312 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001713/0.7877, allocations: 0.8751 MB / 0.932 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.7877, allocations: 0 / 0.932 GB, free: 6.617 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.002338/0.79, allocations: 1.019 MB / 0.933 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.79, allocations: 8 kB / 0.933 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7901, allocations: 8 kB / 0.9331 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7901, allocations: 16 kB / 0.9331 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.7909, allocations: 195.9 kB / 0.9333 GB, free: 5.367 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.7909, allocations: 15.94 kB / 0.9333 GB, free: 5.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.7922, allocations: 163.5 kB / 0.9334 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.7923, allocations: 40 kB / 0.9335 GB, free: 5.152 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.0002116/0.7925, allocations: 235.9 kB / 0.9337 GB, free: 4.914 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.7927, allocations: 134.3 kB / 0.9338 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.7945, allocations: 0.6562 MB / 0.9345 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7945, allocations: 4 kB / 0.9345 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7945, allocations: 0 / 0.9345 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7945, allocations: 0 / 0.9345 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.7983, allocations: 1.93 MB / 0.9364 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7983, allocations: 4 kB / 0.9364 GB, free: 2.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005031/0.7988, allocations: 100 kB / 0.9364 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.7988, allocations: 4 kB / 0.9365 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.7989, allocations: 15.98 kB / 0.9365 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.7989, allocations: 7.938 kB / 0.9365 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7989, allocations: 4 kB / 0.9365 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.8018, allocations: 1.927 MB / 0.9384 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.8024, allocations: 299 kB / 0.9386 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/0.8026, allocations: 19.97 kB / 0.9387 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.8037, allocations: 91.91 kB / 0.9388 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.8038, allocations: 35.83 kB / 0.9388 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.8039, allocations: 23.98 kB / 0.9388 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001419/0.8053, allocations: 0.9886 MB / 0.9398 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8053, allocations: 0 / 0.9398 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0019/0.8072, allocations: 0.5811 MB / 0.9403 GB, free: 13.85 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.0005809/0.8078, allocations: 272.9 kB / 0.9406 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.8107, allocations: 1.104 MB / 0.9417 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.8107, allocations: 4 kB / 0.9417 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007039/0.8114, allocations: 264.9 kB / 0.9419 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/0.8153, allocations: 0.7361 MB / 0.9427 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.8206, allocations: 2.914 MB / 0.9455 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/0.8215, allocations: 1.193 MB / 0.9467 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001595/0.8231, allocations: 363.5 kB / 0.947 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.8234, allocations: 95.41 kB / 0.9471 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.8234, allocations: 4 kB / 0.9471 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of Templates: time 0.2853/1.109, allocations: 24.57 MB / 0.9711 GB, free: 253.8 MB / 0.6823 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)