Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.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.00199/0.00199, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002487/0.002487, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05088/0.05088, allocations: 9.133 MB / 321.6 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.91 kB / 447 MB, free: 80 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1122, allocations: 54.94 MB / 0.4902 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02142/0.1336, allocations: 15.4 MB / 0.5052 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1357, allocations: 1.655 MB / 0.5068 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.1358, allocations: 0 / 0.5068 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.1364, allocations: 231.9 kB / 0.507 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.1365, allocations: 27.84 kB / 0.5071 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006944/0.1434, allocations: 2.873 MB / 0.5099 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.1435, allocations: 47.73 kB / 0.5099 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1435, allocations: 4 kB / 0.5099 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.648e-05/0.1436, allocations: 43.78 kB / 0.51 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.1437, allocations: 7.938 kB / 0.51 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-06/0.1437, allocations: 0 / 0.51 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006067/0.1497, allocations: 3.282 MB / 0.5132 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1498, allocations: 4 kB / 0.5132 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.1498, allocations: 11.94 kB / 0.5132 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2532/0.403, allocations: 1.547 MB / 0.5147 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.403, allocations: 1.219 kB / 0.5147 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.403, allocations: 0 / 0.5147 GB, free: 13.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.403, allocations: 0.75 kB / 0.5147 GB, free: 13.39 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009528/0.404, allocations: 445.6 kB / 0.5151 GB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.404, allocations: 9.453 kB / 0.5151 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.4041, allocations: 5.266 kB / 0.5151 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.4042, allocations: 113.3 kB / 0.5153 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.4042, allocations: 1.594 kB / 0.5153 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.4042, allocations: 0 / 0.5153 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.4043, allocations: 43.12 kB / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4043, allocations: 1.156 kB / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.4043, allocations: 0 / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.4043, allocations: 0 / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.702e-05/0.4043, allocations: 22.23 kB / 0.5153 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.4045, allocations: 105.6 kB / 0.5154 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.4045, allocations: 33.69 kB / 0.5154 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.4045, allocations: 20.11 kB / 0.5155 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/0.428, allocations: 5.728 MB / 0.5211 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.428, allocations: 35.64 kB / 0.5211 GB, free: 12.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.428, allocations: 0 / 0.5211 GB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002921/0.4283, allocations: 81.42 kB / 0.5212 GB, free: 12.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4283, allocations: 52.62 kB / 0.5212 GB, free: 12.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.207e-05/0.4284, allocations: 94.64 kB / 0.5213 GB, free: 12.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.4284, allocations: 25.7 kB / 0.5213 GB, free: 12.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.4284, allocations: 85.53 kB / 0.5214 GB, free: 12.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.4285, allocations: 20.12 kB / 0.5214 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.4285, allocations: 17.23 kB / 0.5215 GB, free: 12.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.4286, allocations: 318.7 kB / 0.5218 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.4286, allocations: 17.69 kB / 0.5218 GB, free: 11.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.4286, allocations: 10.97 kB / 0.5218 GB, free: 11.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.4287, allocations: 40.14 kB / 0.5218 GB, free: 11.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4287, allocations: 1.031 kB / 0.5218 GB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.118e-05/0.4287, allocations: 64.84 kB / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4288, allocations: 5.938 kB / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4288, allocations: 0.9062 kB / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4288, allocations: 0 / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.4288, allocations: 0.5625 kB / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.4288, allocations: 5.359 kB / 0.5219 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.4288, allocations: 4.656 kB / 0.5219 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4288, allocations: 1.094 kB / 0.5219 GB, free: 11.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.209e-05/0.4289, allocations: 112.1 kB / 0.522 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.4289, allocations: 6.266 kB / 0.522 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.429, allocations: 174.3 kB / 0.5222 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/0.4291, allocations: 178.7 kB / 0.5224 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.754e-05/0.4291, allocations: 178.8 kB / 0.5225 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/0.4291, allocations: 185.5 kB / 0.5227 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.4293, allocations: 366.2 kB / 0.5231 GB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.202e-05/0.4293, allocations: 109.9 kB / 0.5232 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.4293, allocations: 104 kB / 0.5233 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-05/0.4294, allocations: 182.8 kB / 0.5234 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.4294, allocations: 181.5 kB / 0.5236 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.673e-05/0.4294, allocations: 181.9 kB / 0.5238 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.187e-05/0.4295, allocations: 179.5 kB / 0.5239 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.452e-05/0.4295, allocations: 311.7 kB / 0.5242 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.4296, allocations: 109.5 kB / 0.5244 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.4296, allocations: 180.2 kB / 0.5245 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.4297, allocations: 109.2 kB / 0.5246 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.4297, allocations: 180.7 kB / 0.5248 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.4297, allocations: 112 kB / 0.5249 GB, free: 8.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.556e-05/0.4298, allocations: 101.6 kB / 0.525 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4298, allocations: 0 / 0.525 GB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001485/0.4313, allocations: 397.2 kB / 0.5254 GB, free: 8.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001824/0.4331, allocations: 0.7208 MB / 0.5261 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.673e-05/0.4332, allocations: 16.47 kB / 0.5261 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4332, allocations: 1.25 kB / 0.5261 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.4332, allocations: 4.75 kB / 0.5261 GB, free: 8.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4337, allocations: 489.6 kB / 0.5266 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.434, allocations: 200.4 kB / 0.5268 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.434, allocations: 63.3 kB / 0.5268 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.757e-05/0.4341, allocations: 1.375 kB / 0.5268 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.4341, allocations: 11.61 kB / 0.5268 GB, free: 7.598 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4341, allocations: 0 / 0.5268 GB, free: 7.598 MB / 382.1 MB Notification: Performance of Templates: time 0.02328/0.4573, allocations: 14.31 MB / 0.5408 GB, free: 3.801 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.561670131981373] Failed to read output from testmodel.py, exit status != 0: 0.4647767227143049 0.47715377999999997 0.070838658 Calling exit ...