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.001905/0.001905, allocations: 85.48 kB / 19.44 MB, free: 344 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.00215/0.00215, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.601/1.601, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.3/1.3, 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.826e-06/2.826e-06, allocations: 0.5469 kB / 0.5196 GB, free: 2.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.409e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.05818/0.05822, allocations: 43.56 MB / 0.5621 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.07938, allocations: 11.39 MB / 0.5733 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.08161, allocations: 71.44 kB / 0.5733 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.08375, allocations: 0.5628 MB / 0.5739 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004978/0.08872, allocations: 1.542 MB / 0.5754 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.09303, allocations: 1.37 MB / 0.5767 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005202/0.09824, allocations: 2.725 MB / 0.5794 GB, free: 5.363 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001877/0.1001, allocations: 0.8862 MB / 0.5803 GB, free: 4.457 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004686/0.1048, allocations: 1.628 MB / 0.5819 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.1065, allocations: 0.7047 MB / 0.5825 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.1067, allocations: 108 kB / 0.5826 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.1088, allocations: 0.6744 MB / 0.5833 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.1091, allocations: 290.8 kB / 0.5836 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0006826/0.1098, allocations: 422.9 kB / 0.584 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.1132, allocations: 1.947 MB / 0.5859 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1132, allocations: 4 kB / 0.5859 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1132, allocations: 0 / 0.5859 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.1132, allocations: 0 / 0.5859 GB, free: 14.7 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.003183/0.1164, allocations: 1.697 MB / 0.5875 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1164, allocations: 8.031 kB / 0.5876 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.1181, allocations: 339.9 kB / 0.5879 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.1201, allocations: 0.9275 MB / 0.5888 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.1201, allocations: 66.36 kB / 0.5888 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.1203, allocations: 83.94 kB / 0.5889 GB, free: 11.51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.1226, allocations: 1.186 MB / 0.5901 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.1227, allocations: 0 / 0.5901 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/0.1228, allocations: 32 kB / 0.5901 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.1228, allocations: 20 kB / 0.5901 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.1247, allocations: 0.7455 MB / 0.5909 GB, free: 9.426 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.007042/0.1318, allocations: 4.348 MB / 0.5951 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.1334, allocations: 0.5344 MB / 0.5956 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.1341, allocations: 256.3 kB / 0.5959 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006473/0.1348, allocations: 108.3 kB / 0.596 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.1359, allocations: 0.5178 MB / 0.5965 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.725e-06/0.1359, allocations: 0 / 0.5965 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=47): time 0.00288/0.1388, allocations: 0.856 MB / 0.5973 GB, free: 2.633 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1389, allocations: 114.8 kB / 0.5974 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.1404, allocations: 0.9642 MB / 0.5984 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.1405, allocations: 37.7 kB / 0.5984 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006802/0.1412, allocations: 0.6003 MB / 0.599 GB, free: 0.8633 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.1414, allocations: 182.5 kB / 0.5992 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/0.1417, allocations: 163.9 kB / 0.5993 GB, free: 0.5156 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003228/0.142, allocations: 0.5199 MB / 0.5998 GB, free: 15.99 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009013/0.1429, allocations: 282.8 kB / 0.6001 GB, free: 15.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.1441, allocations: 0.673 MB / 0.6008 GB, free: 14.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.1457, allocations: 0.779 MB / 0.6015 GB, free: 14.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1457, allocations: 4 kB / 0.6015 GB, free: 14 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002239/0.148, allocations: 0.8829 MB / 0.6024 GB, free: 13.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.148, allocations: 37.69 kB / 0.6024 GB, free: 13.06 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.148, allocations: 4 kB / 0.6024 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1481, allocations: 8 kB / 0.6024 GB, free: 13.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.149, allocations: 183.7 kB / 0.6026 GB, free: 12.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.946e-05/0.149, allocations: 12.25 kB / 0.6026 GB, free: 12.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.1498, allocations: 87.58 kB / 0.6027 GB, free: 12.77 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.991e-05/0.1499, allocations: 35.92 kB / 0.6027 GB, free: 12.73 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.0005587/0.1505, allocations: 308.4 kB / 0.603 GB, free: 12.42 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.1507, allocations: 103.4 kB / 0.6031 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.1532, allocations: 0.9481 MB / 0.6041 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.1532, allocations: 7.984 kB / 0.6041 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1532, allocations: 4 kB / 0.6041 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1532, allocations: 0 / 0.6041 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.1573, allocations: 2.013 MB / 0.606 GB, free: 9.289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.1573, allocations: 7.938 kB / 0.606 GB, free: 9.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/0.1581, allocations: 131.8 kB / 0.6062 GB, free: 9.152 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.1581, allocations: 4 kB / 0.6062 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.1581, allocations: 23.92 kB / 0.6062 GB, free: 9.125 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.1581, allocations: 8.156 kB / 0.6062 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1581, allocations: 0 / 0.6062 GB, free: 9.117 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.1612, allocations: 1.372 MB / 0.6075 GB, free: 7.715 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.1617, allocations: 187.1 kB / 0.6077 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.1618, allocations: 15.94 kB / 0.6077 GB, free: 7.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.1624, allocations: 43.95 kB / 0.6078 GB, free: 7.473 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.1626, allocations: 48.41 kB / 0.6078 GB, free: 7.426 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.1626, allocations: 23.98 kB / 0.6078 GB, free: 7.402 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000958/0.1636, allocations: 0.6082 MB / 0.6084 GB, free: 6.797 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.1636, allocations: 0 / 0.6084 GB, free: 6.797 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001388/0.165, allocations: 398.9 kB / 0.6088 GB, free: 6.406 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.003476/0.1684, allocations: 0.7377 MB / 0.6095 GB, free: 5.883 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.1705, allocations: 0.7517 MB / 0.6103 GB, free: 5.113 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1705, allocations: 4 kB / 0.6103 GB, free: 5.109 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.1715, allocations: 363.5 kB / 0.6106 GB, free: 4.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.1735, allocations: 392.2 kB / 0.611 GB, free: 4.395 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007359/0.1809, allocations: 2.092 MB / 0.613 GB, free: 2.238 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.1814, allocations: 447 kB / 0.6135 GB, free: 1.773 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007958/0.1822, allocations: 190 kB / 0.6136 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.1825, allocations: 84.45 kB / 0.6137 GB, free: 1.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.894e-06/0.1825, allocations: 0 / 0.6137 GB, free: 1.5 MB / 0.573 GB Notification: Performance of Templates: time 0.03799/0.2205, allocations: 19 MB / 0.6323 GB, free: 14.89 MB / 0.6042 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.013441787916236]