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.001939/0.001939, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001865/0.001865, allocations: 216.8 kB / 22.25 MB, free: 4.859 MB / 14.72 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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-531:190: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-531:198: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.237/1.237, allocations: 203.8 MB / 0.5041 GB, free: 4.629 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.91 kB / 0.7186 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.6025, allocations: 102 MB / 0.8182 GB, free: 28.67 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03909/0.6416, allocations: 38.8 MB / 0.8561 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.6602, allocations: 10.41 MB / 0.8663 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.6635, allocations: 73.16 kB / 0.8664 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.666, allocations: 0.5638 MB / 0.8669 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.6722, allocations: 1.491 MB / 0.8684 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.6767, allocations: 1.336 MB / 0.8697 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00494/0.6817, allocations: 2.71 MB / 0.8723 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.6834, allocations: 0.8305 MB / 0.8731 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.6873, allocations: 1.268 MB / 0.8744 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.6888, allocations: 0.7897 MB / 0.8752 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.6889, allocations: 110.8 kB / 0.8753 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.6909, allocations: 0.6638 MB / 0.8759 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003437/0.6913, allocations: 285.2 kB / 0.8762 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.692, allocations: 0.4944 MB / 0.8767 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.6952, allocations: 1.922 MB / 0.8785 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6952, allocations: 1.25 kB / 0.8785 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6952, allocations: 0 / 0.8785 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.347e-05/0.6953, allocations: 7.922 kB / 0.8786 GB, free: 3.492 MB / 0.6544 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.003044/0.6983, allocations: 1.492 MB / 0.88 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6983, allocations: 9.719 kB / 0.88 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.7002, allocations: 335.3 kB / 0.8803 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.7022, allocations: 0.8985 MB / 0.8812 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.7023, allocations: 62 kB / 0.8813 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.7024, allocations: 80.66 kB / 0.8814 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.7048, allocations: 1.129 MB / 0.8825 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.7048, allocations: 1.375 kB / 0.8825 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.532e-05/0.7049, allocations: 36.38 kB / 0.8825 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.7049, allocations: 20.31 kB / 0.8825 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.7073, allocations: 0.829 MB / 0.8833 GB, free: 160 kB / 0.6544 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.005923/0.7132, allocations: 3.236 MB / 0.8865 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.715, allocations: 0.5765 MB / 0.887 GB, free: 13.19 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008733/0.7159, allocations: 297.7 kB / 0.8873 GB, free: 13.04 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006273/0.7165, allocations: 126.9 kB / 0.8874 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.7178, allocations: 0.5202 MB / 0.888 GB, free: 12.59 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.7178, allocations: 0 / 0.888 GB, free: 12.59 MB / 0.67 GB Notification: Performance of matching and sorting (n=47): time 0.003342/0.7211, allocations: 0.963 MB / 0.8889 GB, free: 12.1 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.7212, allocations: 117 kB / 0.889 GB, free: 11.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.7225, allocations: 0.744 MB / 0.8897 GB, free: 11.54 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.652e-05/0.7226, allocations: 36.39 kB / 0.8898 GB, free: 11.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/0.7231, allocations: 0.4969 MB / 0.8903 GB, free: 11.05 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.7233, allocations: 176.4 kB / 0.8904 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.7236, allocations: 133.8 kB / 0.8906 GB, free: 10.82 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7238, allocations: 327.1 kB / 0.8909 GB, free: 10.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008974/0.7247, allocations: 321.5 kB / 0.8912 GB, free: 10.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.7258, allocations: 0.636 MB / 0.8918 GB, free: 9.758 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.7278, allocations: 0.7833 MB / 0.8926 GB, free: 9.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7278, allocations: 2.406 kB / 0.8926 GB, free: 9.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002557/0.7304, allocations: 0.9451 MB / 0.8935 GB, free: 8.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.7304, allocations: 33.7 kB / 0.8935 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7305, allocations: 4 kB / 0.8935 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.7305, allocations: 8 kB / 0.8935 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.7315, allocations: 204.1 kB / 0.8937 GB, free: 8.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.7316, allocations: 11.94 kB / 0.8937 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009712/0.7325, allocations: 111.7 kB / 0.8938 GB, free: 8.156 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/0.7326, allocations: 31.98 kB / 0.8939 GB, free: 8.125 MB / 0.67 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.0005251/0.7331, allocations: 270.5 kB / 0.8941 GB, free: 7.852 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.7333, allocations: 103.4 kB / 0.8942 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.7362, allocations: 1.073 MB / 0.8953 GB, free: 6.684 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.7362, allocations: 11.98 kB / 0.8953 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7362, allocations: 7.938 kB / 0.8953 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.7362, allocations: 0 / 0.8953 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.7405, allocations: 1.842 MB / 0.8971 GB, free: 4.773 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.7405, allocations: 3.984 kB / 0.8971 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009138/0.7414, allocations: 152 kB / 0.8972 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.7414, allocations: 4 kB / 0.8972 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.7414, allocations: 23.92 kB / 0.8973 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.7414, allocations: 4 kB / 0.8973 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7415, allocations: 0 / 0.8973 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.7449, allocations: 1.474 MB / 0.8987 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/0.7454, allocations: 187.2 kB / 0.8989 GB, free: 2.902 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.7455, allocations: 15.94 kB / 0.8989 GB, free: 2.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007549/0.7463, allocations: 71.91 kB / 0.899 GB, free: 2.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.7464, allocations: 44.36 kB / 0.899 GB, free: 2.773 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/0.7465, allocations: 23.98 kB / 0.899 GB, free: 2.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008033/0.7473, allocations: 0.5264 MB / 0.8995 GB, free: 2.227 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7473, allocations: 3.938 kB / 0.8996 GB, free: 2.223 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00142/0.7487, allocations: 398.9 kB / 0.8999 GB, free: 1.832 MB / 0.67 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.00227/0.751, allocations: 0.7318 MB / 0.9006 GB, free: 1.312 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002366/0.7533, allocations: 0.8124 MB / 0.9014 GB, free: 500 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7533, allocations: 4 kB / 0.9014 GB, free: 496 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.7544, allocations: 386.4 kB / 0.9018 GB, free: 108 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.7562, allocations: 372.7 kB / 0.9022 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008666/0.7649, allocations: 2.369 MB / 0.9045 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.7656, allocations: 458.9 kB / 0.9049 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009717/0.7665, allocations: 194.4 kB / 0.9051 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.7669, allocations: 99.33 kB / 0.9052 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of SimCode: time 1.262e-06/0.7669, allocations: 0 / 0.9052 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of Templates: time 0.03729/0.8041, allocations: 20.38 MB / 0.9251 GB, free: 8.516 MB / 0.7012 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.550595296546817] Failed to read output from testmodel.py, exit status != 0: 0.814281364902854 0.831185527 0.132225308 Calling exit ...