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.001102/0.001102, allocations: 93.06 kB / 19.65 MB, free: 272 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.001696/0.001696, allocations: 169 kB / 23.02 MB, free: 1.543 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.035/1.035, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7304/0.7304, allocations: 154.9 MB / 414.8 MB, free: 416 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.452e-06/1.452e-06, allocations: 0 / 0.5207 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.76e-05, allocations: 5.594 kB / 0.5207 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.01157/0.0116, allocations: 11.64 MB / 0.532 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.02191, allocations: 4.844 MB / 0.5368 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.0235, allocations: 60.06 kB / 0.5368 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.02464, allocations: 345.2 kB / 0.5371 GB, free: 1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.02684, allocations: 1.035 MB / 0.5382 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.02873, allocations: 1.125 MB / 0.5393 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.03112, allocations: 2.628 MB / 0.5418 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.03214, allocations: 0.7688 MB / 0.5426 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001558/0.0337, allocations: 1.252 MB / 0.5438 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.03453, allocations: 0.6215 MB / 0.5444 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.03465, allocations: 92 kB / 0.5445 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.0353, allocations: 347.4 kB / 0.5448 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.03549, allocations: 278.8 kB / 0.5451 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.03581, allocations: 371.1 kB / 0.5454 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.03696, allocations: 0.9808 MB / 0.5464 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.03696, allocations: 2.312 kB / 0.5464 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/0.03696, allocations: 0 / 0.5464 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.03698, allocations: 4 kB / 0.5464 GB, free: 7.5 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.001556/0.03853, allocations: 1.396 MB / 0.5478 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.03857, allocations: 9.094 kB / 0.5478 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003251/0.0389, allocations: 192.2 kB / 0.548 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.0401, allocations: 0.81 MB / 0.5488 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.04015, allocations: 58.17 kB / 0.5488 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.04023, allocations: 71.94 kB / 0.5489 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009458/0.04117, allocations: 0.8074 MB / 0.5497 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.04119, allocations: 3.938 kB / 0.5497 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.427e-05/0.04123, allocations: 28 kB / 0.5497 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.04125, allocations: 17.22 kB / 0.5497 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.04168, allocations: 274.8 kB / 0.55 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.04451, allocations: 3.674 MB / 0.5536 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.04482, allocations: 196.4 kB / 0.5537 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.04495, allocations: 102 kB / 0.5538 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001462/0.0451, allocations: 32.31 kB / 0.5539 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.04536, allocations: 291.5 kB / 0.5542 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 2.866e-06/0.04537, allocations: 0.5938 kB / 0.5542 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.0006207/0.04599, allocations: 416.6 kB / 0.5546 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.04604, allocations: 110.8 kB / 0.5547 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.04658, allocations: 0.7063 MB / 0.5553 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.04661, allocations: 41.7 kB / 0.5554 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.04687, allocations: 0.5224 MB / 0.5559 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.25e-05/0.04694, allocations: 138.9 kB / 0.556 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.04708, allocations: 139.9 kB / 0.5562 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.04718, allocations: 0.4964 MB / 0.5566 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.0473, allocations: 74.34 kB / 0.5567 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.04764, allocations: 0.701 MB / 0.5574 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003772/0.04802, allocations: 441.9 kB / 0.5578 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.04803, allocations: 0 / 0.5578 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007717/0.0488, allocations: 480.3 kB / 0.5583 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.04882, allocations: 9.031 kB / 0.5583 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.04882, allocations: 4 kB / 0.5583 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.04884, allocations: 16 kB / 0.5583 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.04909, allocations: 122.6 kB / 0.5584 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.0491, allocations: 11.98 kB / 0.5584 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.04932, allocations: 67.61 kB / 0.5585 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.04937, allocations: 31.98 kB / 0.5585 GB, free: 10.36 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.000167/0.04953, allocations: 220.2 kB / 0.5587 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.04962, allocations: 100.1 kB / 0.5588 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008326/0.05045, allocations: 0.743 MB / 0.5596 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.05046, allocations: 15.98 kB / 0.5596 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.05047, allocations: 0 / 0.5596 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.05047, allocations: 7.984 kB / 0.5596 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.05183, allocations: 1.449 MB / 0.561 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.05184, allocations: 4 kB / 0.561 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.052, allocations: 92.92 kB / 0.5611 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.052, allocations: 4 kB / 0.5611 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.05203, allocations: 24.92 kB / 0.5611 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.05203, allocations: 4 kB / 0.5611 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.05204, allocations: 4 kB / 0.5611 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.05265, allocations: 0.7682 MB / 0.5619 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.05283, allocations: 183.8 kB / 0.5621 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.0529, allocations: 23.98 kB / 0.5621 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.05306, allocations: 29.11 kB / 0.5621 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.05315, allocations: 56.34 kB / 0.5622 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.05318, allocations: 28.7 kB / 0.5622 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003491/0.05353, allocations: 462.9 kB / 0.5626 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.05353, allocations: 1.344 kB / 0.5626 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000574/0.0541, allocations: 287.3 kB / 0.5629 GB, free: 5.727 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.001243/0.05534, allocations: 0.5838 MB / 0.5635 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.05583, allocations: 348 kB / 0.5638 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.05584, allocations: 0 / 0.5638 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.05608, allocations: 226.9 kB / 0.564 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.05693, allocations: 339.3 kB / 0.5643 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.05936, allocations: 1.604 MB / 0.5659 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.05949, allocations: 197.7 kB / 0.5661 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.05982, allocations: 170.2 kB / 0.5663 GB, free: 2.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.05995, allocations: 94.05 kB / 0.5664 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/0.05995, allocations: 0 / 0.5664 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of Templates: time 0.02386/0.08381, allocations: 17.11 MB / 0.5831 GB, free: 1.633 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.2553202379494905]