Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.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.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006396/0.006396, allocations: 100.7 kB / 15.73 MB, free: 6.062 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.001375/0.001375, allocations: 193 kB / 16.67 MB, free: 5.973 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8977/0.8977, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 66.58 kB / 0.5862 GB, free: 21.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 81.03 MB / 0.6653 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.05291/0.2343, allocations: 43.58 MB / 0.7079 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2506, allocations: 8.45 MB / 0.7161 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003861/0.2545, allocations: 43.69 kB / 0.7162 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2577, allocations: 0.5197 MB / 0.7167 GB, free: 392 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006307/0.2642, allocations: 1.504 MB / 0.7182 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.2683, allocations: 1.191 MB / 0.7193 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004924/0.2732, allocations: 2.65 MB / 0.7219 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.2754, allocations: 0.9097 MB / 0.7228 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.279, allocations: 1.272 MB / 0.724 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.2807, allocations: 0.7271 MB / 0.7247 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003745/0.2811, allocations: 88 kB / 0.7248 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.2841, allocations: 0.8773 MB / 0.7257 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.2847, allocations: 239.1 kB / 0.7259 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.286, allocations: 0.5402 MB / 0.7264 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.2903, allocations: 1.713 MB / 0.7281 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2903, allocations: 4 kB / 0.7281 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2903, allocations: 0 / 0.7281 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.882e-05/0.2904, allocations: 0 / 0.7281 GB, free: 4.641 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003578/0.294, allocations: 1.407 MB / 0.7295 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.2941, allocations: 13.05 kB / 0.7295 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004223/0.2945, allocations: 128.2 kB / 0.7296 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.2962, allocations: 0.8437 MB / 0.7305 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.511e-05/0.2963, allocations: 49.31 kB / 0.7305 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.2965, allocations: 68 kB / 0.7306 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.298, allocations: 0.7823 MB / 0.7313 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.298, allocations: 8 kB / 0.7313 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.2981, allocations: 28 kB / 0.7314 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.2981, allocations: 16 kB / 0.7314 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.2992, allocations: 0.5163 MB / 0.7319 GB, free: 0.625 MB / 0.5606 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.004471/0.3037, allocations: 3.827 MB / 0.7356 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.3045, allocations: 335.8 kB / 0.7359 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.3049, allocations: 205.4 kB / 0.7361 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.3061, allocations: 1.314 MB / 0.7374 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006279/0.3068, allocations: 263.3 kB / 0.7377 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 3.036e-06/0.3068, allocations: 0 / 0.7377 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.001647/0.3084, allocations: 0.6562 MB / 0.7383 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.3086, allocations: 114.8 kB / 0.7384 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.3099, allocations: 0.806 MB / 0.7392 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/0.31, allocations: 41.69 kB / 0.7392 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/0.3104, allocations: 476.5 kB / 0.7397 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.3106, allocations: 142.8 kB / 0.7398 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.3108, allocations: 126.2 kB / 0.74 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.311, allocations: 326 kB / 0.7403 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3114, allocations: 173 kB / 0.7404 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.3121, allocations: 389.5 kB / 0.7408 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.3132, allocations: 0.5425 MB / 0.7413 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3132, allocations: 0 / 0.7413 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001481/0.3147, allocations: 0.6486 MB / 0.742 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3147, allocations: 4 kB / 0.742 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3147, allocations: 12 kB / 0.742 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.3147, allocations: 11.94 kB / 0.742 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.3152, allocations: 127.7 kB / 0.7421 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.3153, allocations: 8 kB / 0.7421 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.3159, allocations: 87.95 kB / 0.7422 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/0.316, allocations: 35.98 kB / 0.7422 GB, free: 5.199 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tap2.demPro.nextTimeEvent,$whenCondition2,$PRE.tap1.demPro.nextTimeEvent,$whenCondition1,tap2.demPro.nextTimeEventScaled,$PRE.tap2.demPro.nextTimeEventScaled,tap2.demPro.nextTimeEvent,tap2.DHWCom,tap1.demPro.nextTimeEventScaled,$PRE.tap1.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEvent,tap1.DHWCom) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0004835/0.3165, allocations: 261.6 kB / 0.7425 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000237/0.3168, allocations: 99.38 kB / 0.7426 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.3189, allocations: 1.089 MB / 0.7437 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.3189, allocations: 11.94 kB / 0.7437 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.319, allocations: 0 / 0.7437 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.319, allocations: 7.969 kB / 0.7437 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.3227, allocations: 1.957 MB / 0.7456 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.3227, allocations: 4 kB / 0.7456 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.3231, allocations: 91.77 kB / 0.7457 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.3231, allocations: 8 kB / 0.7457 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.3232, allocations: 23.97 kB / 0.7457 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.706e-05/0.3232, allocations: 8 kB / 0.7457 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3232, allocations: 0 / 0.7457 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3252, allocations: 0.9924 MB / 0.7467 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.3259, allocations: 276.1 kB / 0.7469 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.3261, allocations: 12 kB / 0.747 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.3266, allocations: 43.91 kB / 0.747 GB, free: 152 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.3267, allocations: 56.42 kB / 0.7471 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/0.3268, allocations: 31.98 kB / 0.7471 GB, free: 64 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.4286/0.7554, allocations: 0.5528 MB / 0.7476 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.81e-07/0.7555, allocations: 0.7188 kB / 0.7476 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001738/0.7572, allocations: 349.5 kB / 0.748 GB, free: 79.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,tap1.DHWCom,tap1.demPro.nextTimeEvent,tap1.demPro.nextTimeEventScaled,tap2.DHWCom,tap2.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled) * Number of discrete states: 4 (tap2.demPro.nextTimeEvent,tap1.demPro.nextTimeEvent,tap2.demPro.nextTimeEventScaled,tap1.demPro.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.002471/0.7597, allocations: 0.7702 MB / 0.7487 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.7612, allocations: 0.5843 MB / 0.7493 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.7612, allocations: 3.375 kB / 0.7493 GB, free: 79.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/0.7619, allocations: 387.1 kB / 0.7497 GB, free: 79.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.764, allocations: 411.9 kB / 0.75 GB, free: 79.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.7672, allocations: 1.765 MB / 0.7518 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.7679, allocations: 1.047 MB / 0.7528 GB, free: 77.92 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008229/0.7687, allocations: 188.3 kB / 0.753 GB, free: 77.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.7689, allocations: 99.45 kB / 0.7531 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/0.7689, allocations: 1.625 kB / 0.7531 GB, free: 77.88 MB / 0.5762 GB Notification: Performance of Templates: time 0.04287/0.8118, allocations: 19.53 MB / 0.7721 GB, free: 71.4 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1)