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.0009696/0.0009696, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001066/0.001066, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9353/0.9353, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.7953/0.7953, allocations: 154.9 MB / 415.1 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.232e-06/1.232e-06, allocations: 0 / 480.3 MB, free: 6.555 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.307e-05/1.43e-05, allocations: 2.312 kB / 480.3 MB, free: 6.551 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.TapProfile): time 0.008473/0.008487, allocations: 11.53 MB / 491.9 MB, free: 11.05 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.01408, allocations: 4.942 MB / 496.8 MB, free: 6.137 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005149/0.01459, allocations: 59.44 kB / 496.9 MB, free: 6.078 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.01518, allocations: 342.5 kB / 497.2 MB, free: 5.742 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01659, allocations: 1.034 MB / 498.2 MB, free: 4.711 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.01797, allocations: 1.124 MB / 499.4 MB, free: 3.59 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.01981, allocations: 2.63 MB / 0.4902 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006863/0.0205, allocations: 0.7793 MB / 0.491 GB, free: 172 kB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.02156, allocations: 1.248 MB / 0.4922 GB, free: 14.92 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006299/0.02219, allocations: 0.5965 MB / 0.4928 GB, free: 14.32 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.02231, allocations: 88 kB / 0.4929 GB, free: 14.23 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.02273, allocations: 351.4 kB / 0.4932 GB, free: 13.89 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.02291, allocations: 271.8 kB / 0.4935 GB, free: 13.62 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.02317, allocations: 363.1 kB / 0.4938 GB, free: 13.27 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.02396, allocations: 0.9855 MB / 0.4948 GB, free: 12.28 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02396, allocations: 7.938 kB / 0.4948 GB, free: 12.27 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.02396, allocations: 0.75 kB / 0.4948 GB, free: 12.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.02397, allocations: 0 / 0.4948 GB, free: 12.27 MB / 474.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.001034/0.025, allocations: 1.272 MB / 0.496 GB, free: 10.97 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.02503, allocations: 8.031 kB / 0.496 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.02522, allocations: 142.3 kB / 0.4962 GB, free: 10.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.0259, allocations: 0.6557 MB / 0.4968 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.02593, allocations: 53.69 kB / 0.4969 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.02599, allocations: 79.92 kB / 0.4969 GB, free: 10.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.02653, allocations: 0.7285 MB / 0.4976 GB, free: 9.188 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.02655, allocations: 9.125 kB / 0.4977 GB, free: 9.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.02658, allocations: 31.98 kB / 0.4977 GB, free: 9.148 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.02659, allocations: 16 kB / 0.4977 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.02682, allocations: 198.3 kB / 0.4979 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.02843, allocations: 2.482 MB / 0.5003 GB, free: 6.383 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.02863, allocations: 205 kB / 0.5005 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.02872, allocations: 93.42 kB / 0.5006 GB, free: 6.078 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.02881, allocations: 36.3 kB / 0.5006 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.02901, allocations: 278 kB / 0.5009 GB, free: 5.734 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 1.433e-06/0.02901, allocations: 0 / 0.5009 GB, free: 5.734 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.0003285/0.02934, allocations: 262.1 kB / 0.5011 GB, free: 5.473 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.02938, allocations: 115.5 kB / 0.5013 GB, free: 5.336 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.02979, allocations: 0.638 MB / 0.5019 GB, free: 4.688 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.02983, allocations: 38.52 kB / 0.5019 GB, free: 4.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.02999, allocations: 378 kB / 0.5023 GB, free: 4.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.03006, allocations: 143.9 kB / 0.5024 GB, free: 4.129 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.03017, allocations: 122.2 kB / 0.5025 GB, free: 4.004 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.03024, allocations: 325.9 kB / 0.5028 GB, free: 3.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.03032, allocations: 57.3 kB / 0.5029 GB, free: 3.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.03056, allocations: 0.5991 MB / 0.5035 GB, free: 2.859 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.03083, allocations: 344.4 kB / 0.5038 GB, free: 2.453 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03083, allocations: 4 kB / 0.5038 GB, free: 2.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0003357/0.03117, allocations: 350.3 kB / 0.5041 GB, free: 2.105 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.03118, allocations: 10.19 kB / 0.5042 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.03119, allocations: 4 kB / 0.5042 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.0312, allocations: 8 kB / 0.5042 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.03142, allocations: 123.8 kB / 0.5043 GB, free: 1.965 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.03143, allocations: 11.94 kB / 0.5043 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.03162, allocations: 66.2 kB / 0.5044 GB, free: 1.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.03166, allocations: 35.97 kB / 0.5044 GB, free: 1.855 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.0001426/0.03181, allocations: 157.3 kB / 0.5045 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.03187, allocations: 68.89 kB / 0.5046 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.03249, allocations: 0.6005 MB / 0.5052 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.0325, allocations: 12 kB / 0.5052 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.03251, allocations: 1.281 kB / 0.5052 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.03251, allocations: 7.266 kB / 0.5052 GB, free: 1.004 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.03352, allocations: 1.132 MB / 0.5063 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.03352, allocations: 4 kB / 0.5063 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.03366, allocations: 75.91 kB / 0.5064 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.03367, allocations: 8 kB / 0.5064 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.03369, allocations: 19.98 kB / 0.5064 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.0337, allocations: 16.48 kB / 0.5064 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/0.0337, allocations: 8.938 kB / 0.5064 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.0341, allocations: 0.5792 MB / 0.507 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.03425, allocations: 147.1 kB / 0.5072 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.03431, allocations: 13.09 kB / 0.5072 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.03446, allocations: 35.91 kB / 0.5072 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.03452, allocations: 53.39 kB / 0.5073 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.03455, allocations: 23.98 kB / 0.5073 GB, free: 14.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.03478, allocations: 319.2 kB / 0.5076 GB, free: 14.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03478, allocations: 1.531 kB / 0.5076 GB, free: 14.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.03522, allocations: 295.2 kB / 0.5079 GB, free: 14.16 MB / 490.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.001424/0.03665, allocations: 0.7172 MB / 0.5086 GB, free: 13.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.03696, allocations: 297.1 kB / 0.5088 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.03697, allocations: 12 kB / 0.5089 GB, free: 13.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.03715, allocations: 185.2 kB / 0.509 GB, free: 13.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.03784, allocations: 325.3 kB / 0.5093 GB, free: 13.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.03953, allocations: 1.546 MB / 0.5109 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.03965, allocations: 201.2 kB / 0.511 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000248/0.03989, allocations: 151.2 kB / 0.5112 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.04036, allocations: 337.7 kB / 0.5115 GB, free: 10.75 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04036, allocations: 0 / 0.5115 GB, free: 10.75 MB / 490.7 MB Notification: Performance of Templates: time 0.01753/0.05789, allocations: 16.84 MB / 0.528 GB, free: 10.46 MB / 0.4948 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: 3.9527019970119]