Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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.001289/0.001289, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001352/0.001352, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.313/1.313, allocations: 207.7 MB / 233.9 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] 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.04961/0.04961, allocations: 9.149 MB / 295.3 MB, free: 12.51 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.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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 75.48 kB / 411.8 MB, free: 46.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07424/0.07632, allocations: 50.76 MB / 462.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01989/0.09621, allocations: 16.42 MB / 479 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01633/0.1125, allocations: 15.54 MB / 494.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002264/0.1128, allocations: 0 / 494.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.1136, allocations: 274.7 kB / 494.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005761/0.1142, allocations: 230.7 kB / 495 MB, free: 11.95 MB / 366.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01783/0.132, allocations: 7.656 MB / 0.4909 GB, free: 4.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.1324, allocations: 354.2 kB / 0.4913 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.1325, allocations: 8.594 kB / 0.4913 GB, free: 3.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.1328, allocations: 167.3 kB / 0.4914 GB, free: 3.766 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.133, allocations: 103.5 kB / 0.4915 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.133, allocations: 4 kB / 0.4915 GB, free: 3.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/0.1466, allocations: 7.856 MB / 0.4992 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1466, allocations: 19.86 kB / 0.4992 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.1468, allocations: 87.66 kB / 0.4993 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00891/0.1557, allocations: 3.873 MB / 0.5031 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1557, allocations: 0 / 0.5031 GB, free: 7.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1557, allocations: 0 / 0.5031 GB, free: 7.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1557, allocations: 0 / 0.5031 GB, free: 7.801 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002412/0.1581, allocations: 1.055 MB / 0.5041 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1582, allocations: 11.98 kB / 0.5041 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.876e-05/0.1582, allocations: 7.938 kB / 0.5041 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.1582, allocations: 46.55 kB / 0.5042 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1583, allocations: 19.86 kB / 0.5042 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1584, allocations: 144.8 kB / 0.5043 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1584, allocations: 8 kB / 0.5043 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.1585, allocations: 4 kB / 0.5043 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.1588, allocations: 176.2 kB / 0.5045 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1588, allocations: 0 / 0.5045 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1589, allocations: 4 kB / 0.5045 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.1589, allocations: 7.984 kB / 0.5045 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.1593, allocations: 164.3 kB / 0.5047 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.1596, allocations: 245.2 kB / 0.5049 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003306/0.1599, allocations: 162.9 kB / 0.5051 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.1602, allocations: 137.7 kB / 0.5052 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3035/0.4637, allocations: 27.56 MB / 0.5321 GB, free: 73.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4637, allocations: 31.75 kB / 0.5321 GB, free: 73.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.4637, allocations: 0 / 0.5321 GB, free: 73.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009401/0.4647, allocations: 495.4 kB / 0.5326 GB, free: 73.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.4647, allocations: 54.27 kB / 0.5327 GB, free: 73.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.4648, allocations: 143.8 kB / 0.5328 GB, free: 73.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.4648, allocations: 26.77 kB / 0.5328 GB, free: 73.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.4648, allocations: 96.56 kB / 0.5329 GB, free: 72.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.129e-05/0.4649, allocations: 158.5 kB / 0.5331 GB, free: 72.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.465, allocations: 45.89 kB / 0.5331 GB, free: 72.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.465, allocations: 330.5 kB / 0.5334 GB, free: 72.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.4652, allocations: 123.1 kB / 0.5335 GB, free: 72.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4655, allocations: 127.6 kB / 0.5337 GB, free: 72.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.466, allocations: 299 kB / 0.534 GB, free: 72.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.466, allocations: 3.562 kB / 0.534 GB, free: 72.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00066/0.4667, allocations: 343.1 kB / 0.5343 GB, free: 72.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4667, allocations: 5.281 kB / 0.5343 GB, free: 72.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4667, allocations: 0.625 kB / 0.5343 GB, free: 72.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4667, allocations: 7.281 kB / 0.5343 GB, free: 72.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.4669, allocations: 19.64 kB / 0.5343 GB, free: 72.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4669, allocations: 6.391 kB / 0.5343 GB, free: 72.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.467, allocations: 32.34 kB / 0.5344 GB, free: 72.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4671, allocations: 3.156 kB / 0.5344 GB, free: 72.06 MB / 398.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 8.46e-05/0.4671, allocations: 127.1 kB / 0.5345 GB, free: 71.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.4672, allocations: 22.02 kB / 0.5345 GB, free: 71.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/0.4679, allocations: 417.8 kB / 0.5349 GB, free: 71.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4679, allocations: 10.08 kB / 0.5349 GB, free: 71.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.468, allocations: 10.45 kB / 0.5349 GB, free: 71.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.468, allocations: 0 / 0.5349 GB, free: 71.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.4681, allocations: 258.8 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4681, allocations: 0 / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.4683, allocations: 22.3 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4683, allocations: 1.188 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4683, allocations: 6.922 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4683, allocations: 1.125 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4683, allocations: 1.156 kB / 0.5352 GB, free: 71.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.4689, allocations: 400 kB / 0.5356 GB, free: 71.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.839e-05/0.4689, allocations: 37.22 kB / 0.5356 GB, free: 71.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.4689, allocations: 1.156 kB / 0.5356 GB, free: 71.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4691, allocations: 16.44 kB / 0.5356 GB, free: 71.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.4691, allocations: 12.7 kB / 0.5356 GB, free: 71.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4691, allocations: 3.438 kB / 0.5356 GB, free: 71.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.448e-05/0.4692, allocations: 105.8 kB / 0.5357 GB, free: 71.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4692, allocations: 3.812 kB / 0.5357 GB, free: 71.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002674/0.4718, allocations: 1.135 MB / 0.5369 GB, free: 70.99 MB / 398.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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004507/0.4764, allocations: 2.515 MB / 0.5393 GB, free: 69.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.4769, allocations: 283.6 kB / 0.5396 GB, free: 69.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.477, allocations: 1.188 kB / 0.5396 GB, free: 69.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.4772, allocations: 137.2 kB / 0.5397 GB, free: 69.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.478, allocations: 162.1 kB / 0.5399 GB, free: 69.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.4796, allocations: 0.9472 MB / 0.5408 GB, free: 68.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.822e-05/0.4797, allocations: 122.5 kB / 0.5409 GB, free: 68.83 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.094e-05/0.4798, allocations: 20.72 kB / 0.5409 GB, free: 68.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.4799, allocations: 49.02 kB / 0.541 GB, free: 68.79 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4799, allocations: 4 kB / 0.541 GB, free: 68.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.5328, allocations: 34.55 MB / 0.5747 GB, free: 35.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.77, allocations: 4.062 kB / 0.5747 GB, free: 35.5 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.29976317693945] Failed to read output from testmodel.py, exit status != 0: 12.951657876954414 12.9727983 12.813328448 Calling exit ...