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.001126/0.001126, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001227/0.001227, allocations: 173 kB / 23.49 MB, free: 1.059 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.9668/0.9668, allocations: 177.1 MB / 203.8 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.7599/0.7599, allocations: 154.8 MB / 415.1 MB, free: 492 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.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.533e-06/1.533e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.202e-05/3.355e-05, allocations: 6.828 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04832/0.04835, allocations: 43.7 MB / 0.5632 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.06006, allocations: 11.4 MB / 0.5744 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.06232, allocations: 75.44 kB / 0.5744 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.06388, allocations: 0.5623 MB / 0.575 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.06714, allocations: 1.546 MB / 0.5765 GB, free: 9 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.06968, allocations: 1.361 MB / 0.5778 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.07302, allocations: 2.735 MB / 0.5805 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001333/0.07436, allocations: 0.8745 MB / 0.5814 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.0773, allocations: 1.624 MB / 0.5829 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.0783, allocations: 0.7087 MB / 0.5836 GB, free: 1.684 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.07851, allocations: 108 kB / 0.5837 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.07995, allocations: 0.6783 MB / 0.5844 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.08016, allocations: 290.8 kB / 0.5847 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.08055, allocations: 426.9 kB / 0.5851 GB, free: 200 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.0824, allocations: 1.374 MB / 0.5864 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.0824, allocations: 0 / 0.5864 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.0824, allocations: 0 / 0.5864 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.08242, allocations: 0 / 0.5864 GB, free: 14.82 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.001863/0.08428, allocations: 1.584 MB / 0.588 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.08432, allocations: 8.031 kB / 0.588 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008948/0.08522, allocations: 343.9 kB / 0.5883 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.08641, allocations: 0.9282 MB / 0.5892 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.08646, allocations: 58.38 kB / 0.5893 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-05/0.08655, allocations: 87.94 kB / 0.5894 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.08761, allocations: 0.9203 MB / 0.5903 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.08762, allocations: 0 / 0.5903 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/0.08768, allocations: 32 kB / 0.5903 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.08769, allocations: 20 kB / 0.5903 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.08828, allocations: 371.5 kB / 0.5907 GB, free: 10.3 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.003001/0.09128, allocations: 3.807 MB / 0.5944 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.09183, allocations: 330.9 kB / 0.5947 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.09201, allocations: 136.3 kB / 0.5948 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.09231, allocations: 108.3 kB / 0.5949 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.0927, allocations: 362.4 kB / 0.5953 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.0927, allocations: 4 kB / 0.5953 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.0008355/0.09353, allocations: 0.489 MB / 0.5957 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.09359, allocations: 110.8 kB / 0.5959 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.09418, allocations: 0.6985 MB / 0.5965 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.09422, allocations: 37.7 kB / 0.5966 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.09451, allocations: 0.5379 MB / 0.5971 GB, free: 3.469 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.09461, allocations: 174.5 kB / 0.5973 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.09476, allocations: 139.9 kB / 0.5974 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.09489, allocations: 0.5042 MB / 0.5979 GB, free: 2.641 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.09509, allocations: 130.9 kB / 0.598 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.09545, allocations: 0.5169 MB / 0.5985 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.09597, allocations: 0.5018 MB / 0.599 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.09597, allocations: 64 / 0.599 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007803/0.09675, allocations: 0.6096 MB / 0.5996 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.09678, allocations: 33.7 kB / 0.5996 GB, free: 0.5742 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.09679, allocations: 4 kB / 0.5996 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.09681, allocations: 11.98 kB / 0.5997 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.09729, allocations: 179.8 kB / 0.5998 GB, free: 392 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.0973, allocations: 16.23 kB / 0.5998 GB, free: 376 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.09763, allocations: 87.58 kB / 0.5999 GB, free: 288 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.09768, allocations: 35.92 kB / 0.6 GB, free: 252 kB / 0.5573 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.000193/0.09787, allocations: 203.6 kB / 0.6002 GB, free: 40 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.098, allocations: 99.48 kB / 0.6002 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009499/0.09895, allocations: 0.7144 MB / 0.6009 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.09896, allocations: 7.938 kB / 0.601 GB, free: 15.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.09896, allocations: 8 kB / 0.601 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.09897, allocations: 3.984 kB / 0.601 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1005, allocations: 1.497 MB / 0.6024 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1005, allocations: 3.984 kB / 0.6024 GB, free: 13.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.1009, allocations: 132 kB / 0.6026 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1009, allocations: 8 kB / 0.6026 GB, free: 13.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.101, allocations: 23.92 kB / 0.6026 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.101, allocations: 4 kB / 0.6026 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.101, allocations: 0 / 0.6026 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009645/0.1019, allocations: 0.9272 MB / 0.6035 GB, free: 12.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.1022, allocations: 183.1 kB / 0.6037 GB, free: 12.34 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.1022, allocations: 19.94 kB / 0.6037 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002901/0.1025, allocations: 43.98 kB / 0.6037 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.1026, allocations: 52.34 kB / 0.6038 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/0.1026, allocations: 23.98 kB / 0.6038 GB, free: 12.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003719/0.103, allocations: 466.9 kB / 0.6042 GB, free: 11.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.103, allocations: 0 / 0.6042 GB, free: 11.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008006/0.1038, allocations: 398.9 kB / 0.6046 GB, free: 11.36 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.001251/0.1051, allocations: 0.707 MB / 0.6053 GB, free: 10.84 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006436/0.1057, allocations: 485.8 kB / 0.6058 GB, free: 10.35 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1057, allocations: 4 kB / 0.6058 GB, free: 10.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.106, allocations: 215.7 kB / 0.606 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.107, allocations: 391.9 kB / 0.6064 GB, free: 9.773 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.1107, allocations: 1.905 MB / 0.6082 GB, free: 7.801 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.1108, allocations: 188.4 kB / 0.6084 GB, free: 7.598 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005723/0.1114, allocations: 198.1 kB / 0.6086 GB, free: 7.402 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.1116, allocations: 92.45 kB / 0.6087 GB, free: 7.312 MB / 0.573 GB Notification: Performance of SimCode: time 1.974e-06/0.1116, allocations: 0 / 0.6087 GB, free: 7.312 MB / 0.573 GB Notification: Performance of Templates: time 0.02221/0.1338, allocations: 19.02 MB / 0.6273 GB, free: 4.684 MB / 0.5886 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: 4.317146992078051]