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.001353/0.001353, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001787/0.001787, allocations: 221.7 kB / 22.26 MB, free: 5.125 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.52/1.52, allocations: 207.6 MB / 233 MB, free: 9.973 MB / 190.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.0515/0.0515, allocations: 9.157 MB / 294.4 MB, free: 12.69 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",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.002214/0.002214, allocations: 72.44 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08234, allocations: 50.76 MB / 461.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02176/0.1041, allocations: 18.24 MB / 480.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.1238, allocations: 17.58 MB / 497.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.1241, allocations: 0 / 497.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.1251, allocations: 338.5 kB / 498 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006816/0.1258, allocations: 250.6 kB / 498.2 MB, free: 8.176 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.02131/0.1471, allocations: 7.755 MB / 0.4941 GB, free: 428 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.1476, allocations: 350.2 kB / 0.4944 GB, free: 76 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.1477, allocations: 12.58 kB / 0.4945 GB, free: 64 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.1481, allocations: 163.4 kB / 0.4946 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1483, allocations: 95.62 kB / 0.4947 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1483, allocations: 4 kB / 0.4947 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02042/0.1687, allocations: 11.12 MB / 0.5056 GB, free: 4.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.1688, allocations: 23.84 kB / 0.5056 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.169, allocations: 99.48 kB / 0.5057 GB, free: 4.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.1814, allocations: 4.493 MB / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1815, allocations: 0 / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1815, allocations: 0 / 0.5101 GB, free: 36 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.1815, allocations: 3.938 kB / 0.5101 GB, free: 32 kB / 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.002862/0.1843, allocations: 1.051 MB / 0.5111 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1844, allocations: 15.98 kB / 0.5111 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.643e-05/0.1844, allocations: 50.55 kB / 0.5112 GB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1845, allocations: 19.86 kB / 0.5112 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1846, allocations: 140.9 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1846, allocations: 0 / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1847, allocations: 4 kB / 0.5113 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1851, allocations: 176.2 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1851, allocations: 0 / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.1851, allocations: 15.97 kB / 0.5115 GB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.1851, allocations: 7.984 kB / 0.5115 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.1855, allocations: 160.3 kB / 0.5117 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.1859, allocations: 273.1 kB / 0.5119 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1862, allocations: 154.9 kB / 0.5121 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1865, allocations: 129.7 kB / 0.5122 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3128/0.4993, allocations: 27.47 MB / 0.539 GB, free: 68.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4993, allocations: 36.75 kB / 0.5391 GB, free: 68.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.144e-06/0.4993, allocations: 0 / 0.5391 GB, free: 68.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.0009167/0.5002, allocations: 489.9 kB / 0.5395 GB, free: 68.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5003, allocations: 62.28 kB / 0.5396 GB, free: 68.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.5003, allocations: 146.4 kB / 0.5397 GB, free: 68.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.5004, allocations: 29.7 kB / 0.5398 GB, free: 68.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.5004, allocations: 85.14 kB / 0.5398 GB, free: 68.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/0.5005, allocations: 157.5 kB / 0.54 GB, free: 68.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.5005, allocations: 52.23 kB / 0.54 GB, free: 68.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.5006, allocations: 326.6 kB / 0.5403 GB, free: 67.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.5008, allocations: 125.6 kB / 0.5405 GB, free: 67.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.501, allocations: 129.4 kB / 0.5406 GB, free: 67.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.5014, allocations: 300.8 kB / 0.5409 GB, free: 67.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5014, allocations: 0 / 0.5409 GB, free: 67.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004803/0.5019, allocations: 340.2 kB / 0.5412 GB, free: 67.35 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5019, allocations: 7.844 kB / 0.5412 GB, free: 67.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5019, allocations: 3.812 kB / 0.5412 GB, free: 67.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5019, allocations: 0 / 0.5412 GB, free: 67.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.502, allocations: 25.61 kB / 0.5412 GB, free: 67.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.502, allocations: 0 / 0.5412 GB, free: 67.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.5022, allocations: 31.77 kB / 0.5413 GB, free: 67.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.5022, allocations: 3.875 kB / 0.5413 GB, free: 67.32 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 7.098e-05/0.5023, allocations: 128.5 kB / 0.5414 GB, free: 67.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.5023, allocations: 21.42 kB / 0.5414 GB, free: 67.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006028/0.5029, allocations: 421.4 kB / 0.5418 GB, free: 66.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.5029, allocations: 11.98 kB / 0.5418 GB, free: 66.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5029, allocations: 7.891 kB / 0.5418 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.5029, allocations: 0 / 0.5418 GB, free: 66.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.5031, allocations: 266.4 kB / 0.5421 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5031, allocations: 0 / 0.5421 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.5032, allocations: 24.09 kB / 0.5421 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5032, allocations: 0 / 0.5421 GB, free: 66.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5032, allocations: 4.797 kB / 0.5421 GB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5032, allocations: 5 kB / 0.5421 GB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5032, allocations: 4 kB / 0.5421 GB, free: 66.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.5037, allocations: 390.8 kB / 0.5425 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.5038, allocations: 32.42 kB / 0.5425 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.5038, allocations: 3.984 kB / 0.5425 GB, free: 66.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5039, allocations: 19.92 kB / 0.5426 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.504, allocations: 10.95 kB / 0.5426 GB, free: 66.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.504, allocations: 11.95 kB / 0.5426 GB, free: 66.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.504, allocations: 102.7 kB / 0.5427 GB, free: 66.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.504, allocations: 0 / 0.5427 GB, free: 66.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0022/0.5062, allocations: 1.144 MB / 0.5438 GB, free: 66.19 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.003963/0.5102, allocations: 2.505 MB / 0.5462 GB, free: 64.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005423/0.5107, allocations: 274.6 kB / 0.5465 GB, free: 63.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5107, allocations: 0 / 0.5465 GB, free: 63.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.5109, allocations: 144.3 kB / 0.5466 GB, free: 63.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.5117, allocations: 164.5 kB / 0.5468 GB, free: 63.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.5134, allocations: 0.9416 MB / 0.5477 GB, free: 62.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.5135, allocations: 0.7369 MB / 0.5484 GB, free: 61.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.402e-05/0.5136, allocations: 18.89 kB / 0.5485 GB, free: 61.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.5137, allocations: 55.41 kB / 0.5485 GB, free: 61.71 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5137, allocations: 0 / 0.5485 GB, free: 61.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/0.5953, allocations: 34 MB / 0.5817 GB, free: 27.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.17, allocations: 3.281 kB / 0.5817 GB, free: 27.75 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 sys.exit(0), Time elapsed: 18.47949475212954] Failed to read output from testmodel.py, exit status != 0: 13.2971536538098 13.316166083 13.130922071 Calling exit ...