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.0009692/0.0009692, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001044/0.001044, allocations: 165 kB / 23.02 MB, free: 1.547 MB / 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7894/0.7894, allocations: 154.8 MB / 414.7 MB, free: 500 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.393e-06/1.393e-06, allocations: 0 / 0.5205 GB, free: 1.973 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.954e-05, allocations: 3.281 kB / 0.5205 GB, free: 1.969 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.008869/0.008888, allocations: 11.63 MB / 0.5319 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005172/0.01406, allocations: 4.86 MB / 0.5366 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005133/0.01457, allocations: 63.44 kB / 0.5367 GB, free: 1.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.01516, allocations: 337.8 kB / 0.537 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.01654, allocations: 1.03 MB / 0.538 GB, free: 72 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.01798, allocations: 1.121 MB / 0.5391 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002016/0.02, allocations: 2.632 MB / 0.5417 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009076/0.02091, allocations: 0.761 MB / 0.5424 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.02228, allocations: 1.256 MB / 0.5437 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.02309, allocations: 0.6307 MB / 0.5443 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.02322, allocations: 88 kB / 0.5444 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005576/0.02378, allocations: 344.1 kB / 0.5447 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003828/0.02416, allocations: 270.9 kB / 0.545 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.0245, allocations: 379.9 kB / 0.5453 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.02557, allocations: 0.9847 MB / 0.5463 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.02558, allocations: 0.9375 kB / 0.5463 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.152e-06/0.02558, allocations: 0 / 0.5463 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.02559, allocations: 0 / 0.5463 GB, free: 7.605 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.001255/0.02684, allocations: 1.399 MB / 0.5476 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.02688, allocations: 12.03 kB / 0.5477 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.02714, allocations: 184.2 kB / 0.5478 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.02795, allocations: 0.8139 MB / 0.5486 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.02799, allocations: 57.67 kB / 0.5487 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.02806, allocations: 75.88 kB / 0.5488 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.02878, allocations: 0.8032 MB / 0.5495 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.0288, allocations: 3.938 kB / 0.5495 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.02884, allocations: 31.98 kB / 0.5496 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.02885, allocations: 22.34 kB / 0.5496 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.02925, allocations: 267.4 kB / 0.5499 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.03166, allocations: 3.673 MB / 0.5534 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.03193, allocations: 194.6 kB / 0.5536 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.03207, allocations: 96.28 kB / 0.5537 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.03218, allocations: 40.3 kB / 0.5538 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.03243, allocations: 288 kB / 0.554 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.03243, allocations: 0.625 kB / 0.554 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.000565/0.033, allocations: 418.2 kB / 0.5544 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.03304, allocations: 106.8 kB / 0.5545 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.03358, allocations: 0.7111 MB / 0.5552 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.03361, allocations: 37.7 kB / 0.5553 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.03386, allocations: 0.5272 MB / 0.5558 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.03394, allocations: 138.8 kB / 0.5559 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.03407, allocations: 139.9 kB / 0.556 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.03419, allocations: 0.5021 MB / 0.5565 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.03431, allocations: 77.25 kB / 0.5566 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.03467, allocations: 0.6932 MB / 0.5573 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.03505, allocations: 440.9 kB / 0.5577 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.03505, allocations: 0 / 0.5577 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005385/0.03559, allocations: 485.7 kB / 0.5582 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.0356, allocations: 8 kB / 0.5582 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.03561, allocations: 4 kB / 0.5582 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.03563, allocations: 9.031 kB / 0.5582 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.03586, allocations: 119.8 kB / 0.5583 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.03587, allocations: 16.95 kB / 0.5583 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.03609, allocations: 67.61 kB / 0.5584 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.03613, allocations: 38.2 kB / 0.5584 GB, free: 10.46 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.0004208/0.03655, allocations: 208.3 kB / 0.5586 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.03664, allocations: 103.4 kB / 0.5587 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008269/0.03746, allocations: 0.7453 MB / 0.5594 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.03747, allocations: 12 kB / 0.5595 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.03748, allocations: 0 / 0.5595 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.03748, allocations: 8.484 kB / 0.5595 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.03882, allocations: 1.446 MB / 0.5609 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.03883, allocations: 6.781 kB / 0.5609 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.03902, allocations: 91.77 kB / 0.561 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.03903, allocations: 4 kB / 0.561 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.03905, allocations: 23.98 kB / 0.561 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.03906, allocations: 4 kB / 0.561 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.03906, allocations: 7.938 kB / 0.561 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.03967, allocations: 0.772 MB / 0.5618 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.03985, allocations: 171.1 kB / 0.5619 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.0399, allocations: 21.19 kB / 0.5619 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.04006, allocations: 27.98 kB / 0.562 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/0.04013, allocations: 56.34 kB / 0.562 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.04016, allocations: 28.98 kB / 0.5621 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003397/0.0405, allocations: 462.9 kB / 0.5625 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.0405, allocations: 5.031 kB / 0.5625 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004762/0.04098, allocations: 287.2 kB / 0.5628 GB, free: 5.836 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.001065/0.04204, allocations: 0.5885 MB / 0.5633 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004149/0.04246, allocations: 355.4 kB / 0.5637 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.04246, allocations: 4 kB / 0.5637 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.04268, allocations: 223.7 kB / 0.5639 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.04347, allocations: 327.9 kB / 0.5642 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.04532, allocations: 1.605 MB / 0.5658 GB, free: 2.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.04544, allocations: 197.2 kB / 0.566 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000259/0.0457, allocations: 174.8 kB / 0.5661 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.04583, allocations: 96.08 kB / 0.5662 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.04583, allocations: 0 / 0.5662 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of Templates: time 0.01613/0.06196, allocations: 14.93 MB / 0.5808 GB, free: 3.91 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.316043246071786]