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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 169 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7913/0.7913, allocations: 154.9 MB / 415.9 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") translateModel(IDEAS.Fluid.Taps.Examples.TapProfile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5219 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.828e-05, allocations: 4.031 kB / 0.5219 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01117/0.0112, allocations: 11.47 MB / 0.5331 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006443/0.01764, allocations: 4.845 MB / 0.5378 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009812/0.01862, allocations: 59.44 kB / 0.5379 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.01944, allocations: 349.7 kB / 0.5382 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.02157, allocations: 1.03 MB / 0.5392 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.02328, allocations: 1.129 MB / 0.5403 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.02562, allocations: 2.622 MB / 0.5429 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.02664, allocations: 0.7719 MB / 0.5436 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.02864, allocations: 1.251 MB / 0.5448 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008743/0.02951, allocations: 0.6269 MB / 0.5455 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.02965, allocations: 91.94 kB / 0.5455 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.03029, allocations: 352 kB / 0.5459 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.0305, allocations: 262.9 kB / 0.5461 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.03083, allocations: 377.2 kB / 0.5465 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.03214, allocations: 0.9808 MB / 0.5474 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.03214, allocations: 4 kB / 0.5475 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.263e-06/0.03214, allocations: 0 / 0.5475 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.765e-05/0.03217, allocations: 0 / 0.5475 GB, free: 7.352 MB / 0.5105 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.001442/0.03361, allocations: 1.413 MB / 0.5488 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.03365, allocations: 8.031 kB / 0.5488 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/0.03394, allocations: 185.9 kB / 0.549 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.0348, allocations: 0.8127 MB / 0.5498 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.03485, allocations: 51.03 kB / 0.5499 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.03491, allocations: 75.94 kB / 0.5499 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.03555, allocations: 0.7627 MB / 0.5507 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.03557, allocations: 5.625 kB / 0.5507 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.03561, allocations: 28 kB / 0.5507 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.03562, allocations: 16 kB / 0.5507 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.03591, allocations: 219.9 kB / 0.5509 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.03816, allocations: 3.551 MB / 0.5544 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.0384, allocations: 173.7 kB / 0.5546 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.0385, allocations: 88.27 kB / 0.5547 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.03861, allocations: 44.8 kB / 0.5547 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.03887, allocations: 272.1 kB / 0.555 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.465e-06/0.03887, allocations: 6.969 kB / 0.555 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.0005337/0.03941, allocations: 373.5 kB / 0.5553 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.03945, allocations: 106.8 kB / 0.5554 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.04, allocations: 0.698 MB / 0.5561 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.04005, allocations: 37.64 kB / 0.5561 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.04036, allocations: 0.5301 MB / 0.5567 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.04044, allocations: 146.8 kB / 0.5568 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.04058, allocations: 136.9 kB / 0.5569 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.04069, allocations: 0.4926 MB / 0.5574 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.04079, allocations: 58.03 kB / 0.5575 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.04112, allocations: 0.6853 MB / 0.5581 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.04145, allocations: 421.1 kB / 0.5585 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.04146, allocations: 3.938 kB / 0.5585 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005658/0.04202, allocations: 449.4 kB / 0.559 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.04205, allocations: 9.875 kB / 0.559 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.04206, allocations: 10.47 kB / 0.559 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.04208, allocations: 8 kB / 0.559 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.04235, allocations: 123.8 kB / 0.5591 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.04236, allocations: 11.98 kB / 0.5591 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.04262, allocations: 63.61 kB / 0.5592 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.935e-05/0.04267, allocations: 32.92 kB / 0.5592 GB, free: 10.61 MB / 0.5261 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.0002069/0.04288, allocations: 209.8 kB / 0.5594 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/0.04297, allocations: 103.4 kB / 0.5595 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.0438, allocations: 0.6949 MB / 0.5602 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.04381, allocations: 15.98 kB / 0.5602 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.04381, allocations: 0 / 0.5602 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.04382, allocations: 0 / 0.5602 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.04513, allocations: 1.294 MB / 0.5615 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.04514, allocations: 4 kB / 0.5615 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.0453, allocations: 84.98 kB / 0.5616 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.0453, allocations: 11.94 kB / 0.5616 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.04533, allocations: 23.92 kB / 0.5616 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.04533, allocations: 5.219 kB / 0.5616 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.04534, allocations: 4 kB / 0.5616 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.04592, allocations: 0.7248 MB / 0.5623 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.04612, allocations: 176.1 kB / 0.5625 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.04618, allocations: 23.94 kB / 0.5625 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.04635, allocations: 27.92 kB / 0.5625 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.04642, allocations: 57.06 kB / 0.5626 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.04646, allocations: 27.98 kB / 0.5626 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002811/0.04674, allocations: 432 kB / 0.563 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.04674, allocations: 0 / 0.563 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006154/0.04735, allocations: 287.3 kB / 0.5633 GB, free: 6.277 MB / 0.5261 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 (65): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001235/0.04859, allocations: 0.5892 MB / 0.5639 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004424/0.04903, allocations: 316.5 kB / 0.5642 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.04903, allocations: 4.875 kB / 0.5642 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.04924, allocations: 198.1 kB / 0.5644 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.05013, allocations: 331.8 kB / 0.5647 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.05217, allocations: 1.589 MB / 0.5662 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.0523, allocations: 199.5 kB / 0.5664 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.05264, allocations: 140.8 kB / 0.5666 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.05316, allocations: 387.5 kB / 0.5669 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/0.05316, allocations: 0 / 0.5669 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of Templates: time 0.0214/0.07456, allocations: 17.13 MB / 0.5837 GB, free: 1.984 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.TapProfile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.294589631259441]