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.0007313/0.0007313, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001735, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007035/0.0007035, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001719, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9177/0.9177, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7545/0.7545, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2851/1.04, allocations: 49.14 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.302e-06/1.302e-06, allocations: 0 / 449.9 MB, free: 4.621 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.277e-05, allocations: 7.156 kB / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.008448/0.008461, allocations: 11.63 MB / 461.6 MB, free: 9.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.01468, allocations: 4.987 MB / 466.6 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.01534, allocations: 61.41 kB / 466.6 MB, free: 4.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005695/0.01591, allocations: 353 kB / 467 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.01757, allocations: 1.034 MB / 468 MB, free: 2.625 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.0192, allocations: 1.106 MB / 469.1 MB, free: 1.527 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002368/0.02157, allocations: 2.633 MB / 471.7 MB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008918/0.02246, allocations: 0.7353 MB / 472.5 MB, free: 14.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.0238, allocations: 1.339 MB / 473.8 MB, free: 12.8 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.02437, allocations: 0.5987 MB / 474.4 MB, free: 12.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.179e-05/0.02446, allocations: 90.62 kB / 474.5 MB, free: 12.12 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.02504, allocations: 359.4 kB / 474.8 MB, free: 11.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.0252, allocations: 219.1 kB / 475.1 MB, free: 11.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.02544, allocations: 311.3 kB / 475.4 MB, free: 11.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008306/0.02627, allocations: 0.9185 MB / 476.3 MB, free: 10.32 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.02628, allocations: 0 / 476.3 MB, free: 10.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.02628, allocations: 0 / 476.3 MB, free: 10.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.0263, allocations: 0.8438 kB / 476.3 MB, free: 10.32 MB / 458.7 MB 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.001223/0.02752, allocations: 1.506 MB / 477.8 MB, free: 8.789 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.787e-05/0.02755, allocations: 8.875 kB / 477.8 MB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.02777, allocations: 217.9 kB / 478 MB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.02847, allocations: 0.6713 MB / 478.7 MB, free: 7.859 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.02851, allocations: 53.69 kB / 478.7 MB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.02857, allocations: 71.94 kB / 478.8 MB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.02912, allocations: 0.7298 MB / 479.5 MB, free: 6.906 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.02913, allocations: 3.938 kB / 479.5 MB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.02917, allocations: 34 kB / 479.6 MB, free: 6.871 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.02918, allocations: 20 kB / 479.6 MB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.02941, allocations: 202.1 kB / 479.8 MB, free: 6.656 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.03115, allocations: 2.477 MB / 482.3 MB, free: 4.098 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.03136, allocations: 207.4 kB / 482.5 MB, free: 3.887 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.03145, allocations: 89.41 kB / 482.6 MB, free: 3.797 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.03155, allocations: 32.31 kB / 482.6 MB, free: 3.766 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.03177, allocations: 274.5 kB / 482.9 MB, free: 3.461 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.03178, allocations: 3.938 kB / 482.9 MB, free: 3.457 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003425/0.03212, allocations: 257.1 kB / 483.1 MB, free: 3.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.03215, allocations: 63.12 kB / 483.2 MB, free: 3.125 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.03261, allocations: 0.6478 MB / 483.8 MB, free: 2.461 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.03264, allocations: 37.7 kB / 483.9 MB, free: 2.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.03285, allocations: 378.1 kB / 484.2 MB, free: 2.043 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.03294, allocations: 138.8 kB / 484.4 MB, free: 1.906 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.03305, allocations: 130.2 kB / 484.5 MB, free: 1.773 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.03313, allocations: 327.1 kB / 484.8 MB, free: 1.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.03321, allocations: 60.09 kB / 484.9 MB, free: 1.391 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.03348, allocations: 0.603 MB / 485.5 MB, free: 0.6211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.03375, allocations: 353 kB / 485.8 MB, free: 212 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.03375, allocations: 5.25 kB / 485.8 MB, free: 208 kB / 458.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003521/0.03411, allocations: 344.6 kB / 486.2 MB, free: 15.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.03412, allocations: 8 kB / 486.2 MB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.03413, allocations: 4 kB / 486.2 MB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.03414, allocations: 13.39 kB / 486.2 MB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.03441, allocations: 147.8 kB / 486.3 MB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.03442, allocations: 11.94 kB / 486.3 MB, free: 15.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.03461, allocations: 73.31 kB / 486.4 MB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.03465, allocations: 31.98 kB / 486.4 MB, free: 15.58 MB / 474.7 MB 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.0001433/0.03479, allocations: 162.8 kB / 486.6 MB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.03485, allocations: 68.86 kB / 486.7 MB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006252/0.03548, allocations: 0.5923 MB / 487.3 MB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.03549, allocations: 13.3 kB / 487.3 MB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.03549, allocations: 0 / 487.3 MB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.0355, allocations: 3.984 kB / 487.3 MB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.03651, allocations: 1.139 MB / 488.4 MB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.03651, allocations: 0 / 488.4 MB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.03668, allocations: 99.88 kB / 488.5 MB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.03683, allocations: 139.1 kB / 488.6 MB, free: 13.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.03684, allocations: 12.91 kB / 488.7 MB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.03686, allocations: 19.98 kB / 488.7 MB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.03687, allocations: 8.625 kB / 488.7 MB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.03687, allocations: 4 kB / 488.7 MB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.03729, allocations: 0.5918 MB / 489.3 MB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.03735, allocations: 17.81 kB / 489.3 MB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.0375, allocations: 31.92 kB / 489.3 MB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.03756, allocations: 56.34 kB / 489.4 MB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.03759, allocations: 23.98 kB / 489.4 MB, free: 12.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.03782, allocations: 317.1 kB / 489.7 MB, free: 12.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03782, allocations: 0 / 489.7 MB, free: 12.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.03826, allocations: 287.3 kB / 490 MB, free: 11.88 MB / 474.7 MB 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.001464/0.03972, allocations: 0.7926 MB / 490.8 MB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.04005, allocations: 310.8 kB / 491.1 MB, free: 11.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.04006, allocations: 12 kB / 491.1 MB, free: 11.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.04031, allocations: 230.9 kB / 491.3 MB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.04149, allocations: 2.09 MB / 493.4 MB, free: 8.551 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00644/0.04793, allocations: 1.599 MB / 495 MB, free: 6.875 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.04805, allocations: 192.8 kB / 495.2 MB, free: 6.668 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.0483, allocations: 143.5 kB / 495.4 MB, free: 6.539 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.04872, allocations: 309.5 kB / 495.7 MB, free: 6.238 MB / 474.7 MB Notification: Performance of SimCode: time 4.41e-07/0.04872, allocations: 0 / 495.7 MB, free: 6.238 MB / 474.7 MB Notification: Performance of Templates: time 0.01835/0.06708, allocations: 17.3 MB / 0.5009 GB, free: 5.551 MB / 490.7 MB " [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: 3.769707215949893]