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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.6 MB / 231.4 MB, free: 3.16 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05174/0.05174, allocations: 9.159 MB / 292.6 MB, free: 6.07 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 67.89 kB / 409.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 50.71 MB / 459.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02181/0.3475, allocations: 17.01 MB / 476.8 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3499, allocations: 1.854 MB / 478.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.35, allocations: 0 / 478.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.3508, allocations: 306.6 kB / 479 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.3509, allocations: 31.08 kB / 479 MB, free: 3.949 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.009294/0.3602, allocations: 2.907 MB / 481.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3603, allocations: 63.67 kB / 482 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.244e-05/0.3604, allocations: 0 / 482 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.3605, allocations: 27.86 kB / 482 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.3605, allocations: 11.94 kB / 482 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.3605, allocations: 0 / 482 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009096/0.3696, allocations: 5.061 MB / 487.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.3697, allocations: 4 kB / 487.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.3697, allocations: 7.938 kB / 487.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.3764, allocations: 1.995 MB / 489.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3764, allocations: 0 / 489.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3764, allocations: 0 / 489.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3764, allocations: 0 / 489.1 MB, free: 10.09 MB / 350.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.001094/0.3775, allocations: 0.5169 MB / 489.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3776, allocations: 12.03 kB / 489.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.3776, allocations: 7.891 kB / 489.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.3778, allocations: 163 kB / 489.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3778, allocations: 4 kB / 489.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.3778, allocations: 0 / 489.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.378, allocations: 41.69 kB / 489.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.378, allocations: 0 / 489.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.378, allocations: 0 / 489.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.378, allocations: 4 kB / 489.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.05e-05/0.378, allocations: 12 kB / 489.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.3783, allocations: 161.6 kB / 490 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.759e-05/0.3784, allocations: 46.48 kB / 490.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.3784, allocations: 16.89 kB / 490.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03254/0.4109, allocations: 19.37 MB / 0.4975 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.411, allocations: 34.5 kB / 0.4975 GB, free: 2.156 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.411, allocations: 0 / 0.4975 GB, free: 2.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002797/0.4113, allocations: 81.61 kB / 0.4976 GB, free: 2.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4113, allocations: 51.41 kB / 0.4977 GB, free: 2.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4114, allocations: 93.86 kB / 0.4978 GB, free: 1.906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.4114, allocations: 25.7 kB / 0.4978 GB, free: 1.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.4115, allocations: 80.3 kB / 0.4979 GB, free: 1.793 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.4115, allocations: 27.78 kB / 0.4979 GB, free: 1.766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.4116, allocations: 13.72 kB / 0.4979 GB, free: 1.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4117, allocations: 322.8 kB / 0.4982 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.4118, allocations: 11.98 kB / 0.4982 GB, free: 1.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.4118, allocations: 8 kB / 0.4982 GB, free: 1.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.494e-05/0.4118, allocations: 40.78 kB / 0.4983 GB, free: 1.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4118, allocations: 0 / 0.4983 GB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.123e-05/0.4119, allocations: 69.56 kB / 0.4983 GB, free: 1.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4119, allocations: 8.062 kB / 0.4983 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.412, allocations: 0 / 0.4983 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.412, allocations: 0 / 0.4983 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.412, allocations: 0 / 0.4983 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.412, allocations: 4 kB / 0.4983 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.412, allocations: 0 / 0.4983 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.412, allocations: 0 / 0.4983 GB, free: 1.273 MB / 366.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 9.267e-05/0.4121, allocations: 113.8 kB / 0.4984 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.4121, allocations: 7.953 kB / 0.4985 GB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.4123, allocations: 170.9 kB / 0.4986 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000128/0.4124, allocations: 180.2 kB / 0.4988 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.471e-05/0.4125, allocations: 184.3 kB / 0.499 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001268/0.4126, allocations: 180.2 kB / 0.4991 GB, free: 404 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.4131, allocations: 409.2 kB / 0.4995 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001222/0.4132, allocations: 105 kB / 0.4996 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.4132, allocations: 116.9 kB / 0.4997 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.73e-05/0.4133, allocations: 180.3 kB / 0.4999 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.915e-05/0.4134, allocations: 180.2 kB / 0.5001 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001144/0.4135, allocations: 180.3 kB / 0.5003 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.74e-05/0.4136, allocations: 188.2 kB / 0.5004 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.4139, allocations: 307.8 kB / 0.5007 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.866e-05/0.414, allocations: 186 kB / 0.5009 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4141, allocations: 192.1 kB / 0.5011 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4143, allocations: 104.9 kB / 0.5012 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.4145, allocations: 180.3 kB / 0.5014 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.4145, allocations: 101 kB / 0.5015 GB, free: 13.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.222e-05/0.4146, allocations: 99.27 kB / 0.5015 GB, free: 13.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4146, allocations: 7.938 kB / 0.5016 GB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001405/0.416, allocations: 394.8 kB / 0.5019 GB, free: 13.35 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.001806/0.4178, allocations: 0.7239 MB / 0.5026 GB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.4179, allocations: 16 kB / 0.5027 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4179, allocations: 0 / 0.5027 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.4179, allocations: 0 / 0.5027 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.4186, allocations: 496.2 kB / 0.5031 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.419, allocations: 211.1 kB / 0.5033 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4193, allocations: 0.6729 MB / 0.504 GB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.815e-05/0.4194, allocations: 7.938 kB / 0.504 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.4194, allocations: 15.42 kB / 0.504 GB, free: 11.16 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4194, allocations: 0 / 0.504 GB, free: 11.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02297/0.4423, allocations: 14.13 MB / 0.5178 GB, free: 13.01 MB / 398.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.24854701757431]