Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.001735/0.001735, allocations: 85.48 kB / 19.44 MB, free: 336 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.003243/0.003243, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.306/1.306, allocations: 154.8 MB / 414.4 MB, free: 444 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 178] 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.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.228e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.06058/0.06062, allocations: 43.57 MB / 0.5624 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02136/0.08198, allocations: 11.38 MB / 0.5735 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/0.0844, allocations: 71.44 kB / 0.5736 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.08626, allocations: 0.5701 MB / 0.5741 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.09093, allocations: 1.534 MB / 0.5756 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.0949, allocations: 1.376 MB / 0.577 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004815/0.09972, allocations: 2.733 MB / 0.5796 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001693/0.1014, allocations: 0.8667 MB / 0.5805 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.1056, allocations: 1.623 MB / 0.5821 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.1072, allocations: 0.7157 MB / 0.5828 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.1074, allocations: 112 kB / 0.5829 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.1093, allocations: 0.6744 MB / 0.5835 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003848/0.1097, allocations: 282.8 kB / 0.5838 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007429/0.1104, allocations: 434.9 kB / 0.5842 GB, free: 396 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003984/0.1144, allocations: 1.947 MB / 0.5861 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1144, allocations: 0 / 0.5861 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1144, allocations: 0 / 0.5861 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.021e-05/0.1144, allocations: 0 / 0.5861 GB, free: 14.43 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.003321/0.1178, allocations: 1.685 MB / 0.5878 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1178, allocations: 12.03 kB / 0.5878 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.1196, allocations: 339.9 kB / 0.5881 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.1218, allocations: 0.9353 MB / 0.589 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/0.1218, allocations: 58.38 kB / 0.5891 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.122, allocations: 83.94 kB / 0.5892 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/0.1244, allocations: 1.188 MB / 0.5903 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1245, allocations: 0 / 0.5903 GB, free: 9.965 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/0.1245, allocations: 36 kB / 0.5903 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/0.1246, allocations: 23.94 kB / 0.5904 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.1266, allocations: 0.7377 MB / 0.5911 GB, free: 9.164 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007229/0.1338, allocations: 4.36 MB / 0.5953 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.1354, allocations: 0.5317 MB / 0.5959 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.1361, allocations: 260.2 kB / 0.5961 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.1367, allocations: 112.3 kB / 0.5962 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.1378, allocations: 0.5101 MB / 0.5967 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.394e-06/0.1378, allocations: 0 / 0.5967 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.002714/0.1405, allocations: 0.856 MB / 0.5976 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1406, allocations: 106.8 kB / 0.5977 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.1421, allocations: 0.9642 MB / 0.5986 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.1422, allocations: 33.7 kB / 0.5986 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.1429, allocations: 0.6003 MB / 0.5992 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002405/0.1431, allocations: 186.5 kB / 0.5994 GB, free: 432 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.1434, allocations: 163.9 kB / 0.5996 GB, free: 260 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003441/0.1438, allocations: 0.5277 MB / 0.6001 GB, free: 15.72 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.1448, allocations: 278.8 kB / 0.6003 GB, free: 15.44 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.1459, allocations: 0.6691 MB / 0.601 GB, free: 14.63 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.1477, allocations: 0.7829 MB / 0.6018 GB, free: 13.74 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1477, allocations: 0 / 0.6018 GB, free: 13.74 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002346/0.15, allocations: 0.8786 MB / 0.6026 GB, free: 12.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.535e-05/0.1501, allocations: 37.69 kB / 0.6026 GB, free: 12.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.1501, allocations: 8.656 kB / 0.6027 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.1501, allocations: 8 kB / 0.6027 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00097/0.1511, allocations: 183.7 kB / 0.6028 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.1511, allocations: 11.94 kB / 0.6028 GB, free: 12.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/0.1519, allocations: 91.88 kB / 0.6029 GB, free: 12.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.152, allocations: 35.92 kB / 0.603 GB, free: 12.47 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.0005598/0.1525, allocations: 300.4 kB / 0.6033 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.1528, allocations: 119.4 kB / 0.6034 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.1553, allocations: 0.938 MB / 0.6043 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.1553, allocations: 8 kB / 0.6043 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1553, allocations: 0 / 0.6043 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.1553, allocations: 3.984 kB / 0.6043 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.1595, allocations: 2.001 MB / 0.6063 GB, free: 9.035 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.1596, allocations: 7.984 kB / 0.6063 GB, free: 9.027 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008382/0.1604, allocations: 140 kB / 0.6064 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.1604, allocations: 4 kB / 0.6064 GB, free: 8.887 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.527e-05/0.1605, allocations: 23.86 kB / 0.6064 GB, free: 8.863 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.1605, allocations: 4 kB / 0.6064 GB, free: 8.859 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1605, allocations: 4 kB / 0.6064 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.1638, allocations: 1.372 MB / 0.6078 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005368/0.1643, allocations: 187.1 kB / 0.6079 GB, free: 7.27 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.1645, allocations: 19.94 kB / 0.608 GB, free: 7.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.1651, allocations: 39.95 kB / 0.608 GB, free: 7.211 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.1652, allocations: 60.38 kB / 0.6081 GB, free: 7.152 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.1653, allocations: 23.98 kB / 0.6081 GB, free: 7.129 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001003/0.1663, allocations: 0.6044 MB / 0.6087 GB, free: 6.527 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.6087 GB, free: 6.527 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001336/0.1677, allocations: 398.9 kB / 0.6091 GB, free: 6.137 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.003486/0.1711, allocations: 0.7406 MB / 0.6098 GB, free: 5.613 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.1733, allocations: 0.7548 MB / 0.6105 GB, free: 4.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1733, allocations: 3.938 kB / 0.6105 GB, free: 4.836 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/0.1742, allocations: 352.7 kB / 0.6109 GB, free: 4.488 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.1762, allocations: 394.7 kB / 0.6112 GB, free: 4.129 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/0.1835, allocations: 2.088 MB / 0.6133 GB, free: 1.977 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.184, allocations: 454.9 kB / 0.6137 GB, free: 1.496 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007835/0.1848, allocations: 186.2 kB / 0.6139 GB, free: 1.312 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.1851, allocations: 92.39 kB / 0.614 GB, free: 1.223 MB / 0.573 GB Notification: Performance of SimCode: time 1.753e-06/0.1851, allocations: 4 kB / 0.614 GB, free: 1.219 MB / 0.573 GB Notification: Performance of Templates: time 0.03828/0.2234, allocations: 18.98 MB / 0.6325 GB, free: 14.61 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.901011085952632]