Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002002/0.002002, allocations: 92.7 kB / 19.44 MB, free: 324 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.002902/0.002902, allocations: 161.3 kB / 22.75 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.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.224/1.224, allocations: 154.6 MB / 414.1 MB, free: 0.6523 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.398e-05, allocations: 6.312 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.05352/0.05355, allocations: 38.48 MB / 0.5572 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0206/0.07415, allocations: 10.42 MB / 0.5674 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.07609, allocations: 71.44 kB / 0.5674 GB, free: 1.641 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.07785, allocations: 0.5666 MB / 0.568 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.08269, allocations: 1.534 MB / 0.5695 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003894/0.08658, allocations: 1.384 MB / 0.5708 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.0911, allocations: 2.729 MB / 0.5735 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.09282, allocations: 0.8784 MB / 0.5744 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.09706, allocations: 1.622 MB / 0.5759 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.09874, allocations: 0.6853 MB / 0.5766 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/0.09895, allocations: 112 kB / 0.5767 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.1008, allocations: 0.6744 MB / 0.5774 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.1012, allocations: 278.8 kB / 0.5776 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006772/0.1019, allocations: 427 kB / 0.578 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/0.1054, allocations: 1.951 MB / 0.58 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1054, allocations: 0 / 0.58 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1054, allocations: 0 / 0.58 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.98e-05/0.1054, allocations: 0 / 0.58 GB, free: 4.781 MB / 0.5417 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.003051/0.1084, allocations: 1.48 MB / 0.5814 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1085, allocations: 8.031 kB / 0.5814 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.1105, allocations: 395.8 kB / 0.5818 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.1124, allocations: 0.9598 MB / 0.5827 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.1125, allocations: 62.38 kB / 0.5828 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.1127, allocations: 83.94 kB / 0.5829 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.1152, allocations: 1.13 MB / 0.584 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1152, allocations: 3.938 kB / 0.584 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1153, allocations: 36 kB / 0.584 GB, free: 492 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.1153, allocations: 23.98 kB / 0.584 GB, free: 468 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.1178, allocations: 0.8196 MB / 0.5848 GB, free: 15.63 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.005926/0.1238, allocations: 3.251 MB / 0.588 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.1256, allocations: 0.5895 MB / 0.5886 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.1266, allocations: 297.4 kB / 0.5889 GB, free: 11.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/0.1272, allocations: 116.3 kB / 0.589 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001313/0.1285, allocations: 0.5223 MB / 0.5895 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.1285, allocations: 0 / 0.5895 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.003612/0.1321, allocations: 0.9769 MB / 0.5904 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1322, allocations: 110.8 kB / 0.5905 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.1335, allocations: 0.7431 MB / 0.5913 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.1336, allocations: 37.7 kB / 0.5913 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.1342, allocations: 0.5 MB / 0.5918 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.1344, allocations: 166.6 kB / 0.5919 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.1346, allocations: 130.3 kB / 0.5921 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1348, allocations: 337.9 kB / 0.5924 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/0.1358, allocations: 322.8 kB / 0.5927 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.1371, allocations: 0.6313 MB / 0.5933 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.1392, allocations: 0.7828 MB / 0.5941 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.1392, allocations: 4 kB / 0.5941 GB, free: 5.742 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002733/0.1419, allocations: 0.9688 MB / 0.595 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.142, allocations: 44.03 kB / 0.5951 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.142, allocations: 8.062 kB / 0.5951 GB, free: 4.699 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.142, allocations: 8 kB / 0.5951 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.1431, allocations: 199.7 kB / 0.5953 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.1431, allocations: 11.94 kB / 0.5953 GB, free: 4.484 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000873/0.144, allocations: 103.6 kB / 0.5954 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.1441, allocations: 47.91 kB / 0.5954 GB, free: 4.336 MB / 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.0005273/0.1446, allocations: 257.7 kB / 0.5957 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.1449, allocations: 107.4 kB / 0.5958 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.1479, allocations: 1.073 MB / 0.5968 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.148, allocations: 12 kB / 0.5968 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.148, allocations: 4 kB / 0.5968 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.148, allocations: 7.984 kB / 0.5969 GB, free: 2.879 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.1526, allocations: 1.838 MB / 0.5987 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.1526, allocations: 0 / 0.5987 GB, free: 0.9883 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/0.1535, allocations: 155.9 kB / 0.5988 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.1535, allocations: 8 kB / 0.5988 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.1536, allocations: 19.92 kB / 0.5988 GB, free: 0.8086 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.1536, allocations: 4 kB / 0.5988 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1536, allocations: 0 / 0.5988 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.1574, allocations: 1.494 MB / 0.6003 GB, free: 15.28 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.1579, allocations: 183.2 kB / 0.6005 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.1581, allocations: 27.84 kB / 0.6005 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/0.1589, allocations: 59.92 kB / 0.6005 GB, free: 15.02 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.159, allocations: 52.41 kB / 0.6006 GB, free: 14.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.1591, allocations: 23.98 kB / 0.6006 GB, free: 14.94 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009708/0.1601, allocations: 0.5224 MB / 0.6011 GB, free: 14.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.1601, allocations: 4.062 kB / 0.6011 GB, free: 14.42 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001368/0.1615, allocations: 398.9 kB / 0.6015 GB, free: 14.03 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.002756/0.1642, allocations: 0.7406 MB / 0.6022 GB, free: 13.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002524/0.1667, allocations: 0.8162 MB / 0.603 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1667, allocations: 3.938 kB / 0.603 GB, free: 12.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.1679, allocations: 395.6 kB / 0.6034 GB, free: 12.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.1702, allocations: 392 kB / 0.6038 GB, free: 11.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009176/0.1794, allocations: 2.311 MB / 0.606 GB, free: 9.555 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.1801, allocations: 474.8 kB / 0.6065 GB, free: 9.059 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001085/0.1812, allocations: 192.7 kB / 0.6067 GB, free: 8.867 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/0.1816, allocations: 88.45 kB / 0.6068 GB, free: 8.781 MB / 0.573 GB Notification: Performance of SimCode: time 2.725e-06/0.1816, allocations: 0 / 0.6068 GB, free: 8.781 MB / 0.573 GB Notification: Performance of Templates: time 0.03932/0.2209, allocations: 19 MB / 0.6253 GB, free: 6.18 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.675976837053895]