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.0007168/0.0007168, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007156/0.0007156, allocations: 210.9 kB / 23 MB, free: 2.977 MB / 13.93 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.8345/0.8345, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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-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 0.7223/0.7223, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [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: 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.0008796/0.0008796, allocations: 68.08 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5275, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03557/0.5631, allocations: 38.81 MB / 0.8569 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01566/0.5787, allocations: 10.41 MB / 0.8671 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002963/0.5817, allocations: 73.41 kB / 0.8671 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.5843, allocations: 0.569 MB / 0.8677 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006276/0.5905, allocations: 1.494 MB / 0.8692 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.594, allocations: 1.324 MB / 0.8704 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.598, allocations: 2.714 MB / 0.8731 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.5993, allocations: 0.8295 MB / 0.8739 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.6025, allocations: 1.266 MB / 0.8751 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.604, allocations: 0.782 MB / 0.8759 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.6042, allocations: 111 kB / 0.876 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.6058, allocations: 0.667 MB / 0.8767 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.6061, allocations: 282.5 kB / 0.8769 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/0.6069, allocations: 0.4944 MB / 0.8774 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.6099, allocations: 1.924 MB / 0.8793 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.6099, allocations: 1.062 kB / 0.8793 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6099, allocations: 0 / 0.8793 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.579e-05/0.6099, allocations: 0 / 0.8793 GB, free: 5.801 MB / 0.6511 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.002914/0.6129, allocations: 1.496 MB / 0.8808 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6129, allocations: 9.156 kB / 0.8808 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.614, allocations: 331.5 kB / 0.8811 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.6156, allocations: 0.9015 MB / 0.882 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.946e-05/0.6157, allocations: 62.41 kB / 0.882 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.6158, allocations: 83.97 kB / 0.8821 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.6174, allocations: 1.13 MB / 0.8832 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.6174, allocations: 5.344 kB / 0.8832 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.6175, allocations: 40.66 kB / 0.8832 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.6175, allocations: 23.03 kB / 0.8833 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.619, allocations: 0.8183 MB / 0.8841 GB, free: 2.457 MB / 0.6511 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.004058/0.6231, allocations: 3.229 MB / 0.8872 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.6241, allocations: 0.5856 MB / 0.8878 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.6245, allocations: 297.4 kB / 0.8881 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.6249, allocations: 124.2 kB / 0.8882 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006816/0.6256, allocations: 0.5292 MB / 0.8887 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/0.6256, allocations: 4 kB / 0.8887 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.001707/0.6273, allocations: 0.9534 MB / 0.8896 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.6274, allocations: 114.8 kB / 0.8898 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.6283, allocations: 0.747 MB / 0.8905 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.6283, allocations: 33.7 kB / 0.8905 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.6286, allocations: 0.5 MB / 0.891 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6287, allocations: 170.6 kB / 0.8912 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.6289, allocations: 134.2 kB / 0.8913 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.629, allocations: 334 kB / 0.8916 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.6295, allocations: 326.8 kB / 0.8919 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.6301, allocations: 0.6312 MB / 0.8925 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.6311, allocations: 0.7819 MB / 0.8933 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6311, allocations: 0 / 0.8933 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/0.6325, allocations: 0.9357 MB / 0.8942 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/0.6325, allocations: 37.7 kB / 0.8943 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6325, allocations: 8 kB / 0.8943 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.6325, allocations: 11.94 kB / 0.8943 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.6331, allocations: 196.3 kB / 0.8945 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.6331, allocations: 19.88 kB / 0.8945 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.6336, allocations: 107.5 kB / 0.8946 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.6337, allocations: 31.98 kB / 0.8946 GB, free: 7.465 MB / 0.6667 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.0003678/0.634, allocations: 269.6 kB / 0.8949 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.6341, allocations: 91.44 kB / 0.895 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.6358, allocations: 1.09 MB / 0.896 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-05/0.6358, allocations: 11.98 kB / 0.896 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.6358, allocations: 3.938 kB / 0.896 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.6358, allocations: 0 / 0.896 GB, free: 6.004 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.6383, allocations: 1.842 MB / 0.8978 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.6383, allocations: 4 kB / 0.8978 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.6388, allocations: 152 kB / 0.898 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6388, allocations: 4 kB / 0.898 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.6388, allocations: 19.98 kB / 0.898 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/0.6388, allocations: 4 kB / 0.898 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6388, allocations: 288 / 0.898 GB, free: 3.934 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6407, allocations: 1.478 MB / 0.8995 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.641, allocations: 191.1 kB / 0.8996 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.6411, allocations: 15.95 kB / 0.8997 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.6415, allocations: 63.91 kB / 0.8997 GB, free: 2.156 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/0.6416, allocations: 52.3 kB / 0.8998 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.6416, allocations: 28.05 kB / 0.8998 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005484/0.6421, allocations: 0.5224 MB / 0.9003 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6421, allocations: 0 / 0.9003 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001088/0.6432, allocations: 394.9 kB / 0.9007 GB, free: 1.172 MB / 0.6667 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.001309/0.6445, allocations: 0.7379 MB / 0.9014 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6459, allocations: 0.8162 MB / 0.9022 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6459, allocations: 0 / 0.9022 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.6465, allocations: 394.3 kB / 0.9026 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6476, allocations: 349 kB / 0.9029 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.6525, allocations: 2.41 MB / 0.9053 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.6528, allocations: 450.9 kB / 0.9057 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.6531, allocations: 103.4 kB / 0.9058 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/0.6531, allocations: 0 / 0.9058 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.02253/0.6756, allocations: 18.22 MB / 0.9236 GB, free: 9.941 MB / 0.698 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.267247115261853] Failed to read output from testmodel.py, exit status != 0: 0.6818209700286388 0.691716267 0.079655009 Calling exit ...