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.001391/0.001391, allocations: 116.5 kB / 17.16 MB, free: 5.914 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.001475/0.001475, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.38/1.38, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.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.04979/0.04979, allocations: 9.141 MB / 291.5 MB, free: 7.18 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.002168/0.002168, allocations: 74.25 kB / 406.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2353, allocations: 50.71 MB / 457.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02087/0.2562, allocations: 18.2 MB / 475.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.2745, allocations: 17.57 MB / 493 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.2747, allocations: 0 / 493 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007909/0.2755, allocations: 334.5 kB / 493.4 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005648/0.2761, allocations: 250.6 kB / 493.6 MB, free: 3.445 MB / 350.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.01862/0.2947, allocations: 7.682 MB / 0.4895 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004603/0.2951, allocations: 358.2 kB / 0.4899 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.2952, allocations: 8.312 kB / 0.4899 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.2955, allocations: 163.3 kB / 0.4901 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.2956, allocations: 99.58 kB / 0.4901 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2957, allocations: 4 kB / 0.4902 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0179/0.3136, allocations: 10.8 MB / 0.5007 GB, free: 308 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.3136, allocations: 23.91 kB / 0.5007 GB, free: 284 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3138, allocations: 99.48 kB / 0.5008 GB, free: 184 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.3255, allocations: 4.469 MB / 0.5052 GB, free: 11.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.3255, allocations: 8 kB / 0.5052 GB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3255, allocations: 0 / 0.5052 GB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3255, allocations: 0 / 0.5052 GB, free: 11.69 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.002574/0.3281, allocations: 1.122 MB / 0.5063 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3281, allocations: 11.97 kB / 0.5063 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.122e-05/0.3281, allocations: 4 kB / 0.5063 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.3282, allocations: 46.55 kB / 0.5063 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.3282, allocations: 27.84 kB / 0.5064 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3284, allocations: 190.7 kB / 0.5065 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.3284, allocations: 4 kB / 0.5066 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3284, allocations: 11.94 kB / 0.5066 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.3288, allocations: 164.2 kB / 0.5067 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3288, allocations: 0 / 0.5067 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3288, allocations: 0 / 0.5067 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.3289, allocations: 11.98 kB / 0.5067 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004432/0.3293, allocations: 164.2 kB / 0.5069 GB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3296, allocations: 294 kB / 0.5072 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.3299, allocations: 154.9 kB / 0.5073 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3302, allocations: 137.6 kB / 0.5074 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1517/0.4819, allocations: 93.61 MB / 0.5989 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4819, allocations: 38.56 kB / 0.5989 GB, free: 11.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.4819, allocations: 3.938 kB / 0.5989 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=48): time 0.001064/0.483, allocations: 475.7 kB / 0.5994 GB, free: 10.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.483, allocations: 55.41 kB / 0.5994 GB, free: 10.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.4832, allocations: 142.1 kB / 0.5996 GB, free: 10.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4832, allocations: 25.7 kB / 0.5996 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.4832, allocations: 85.14 kB / 0.5997 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.4834, allocations: 162.5 kB / 0.5998 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.4834, allocations: 45.69 kB / 0.5999 GB, free: 10.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4836, allocations: 326.8 kB / 0.6002 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.4838, allocations: 124.4 kB / 0.6003 GB, free: 9.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4841, allocations: 118.1 kB / 0.6004 GB, free: 9.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.4846, allocations: 291.6 kB / 0.6007 GB, free: 9.258 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4846, allocations: 0 / 0.6007 GB, free: 9.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006588/0.4853, allocations: 345.1 kB / 0.601 GB, free: 8.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4853, allocations: 4 kB / 0.601 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4853, allocations: 0 / 0.601 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4853, allocations: 4 kB / 0.601 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4855, allocations: 19.98 kB / 0.601 GB, free: 8.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4855, allocations: 3.984 kB / 0.601 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.4856, allocations: 35.77 kB / 0.6011 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4856, allocations: 0 / 0.6011 GB, free: 8.852 MB / 494.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 0.0001238/0.4858, allocations: 129.8 kB / 0.6012 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.4858, allocations: 19.86 kB / 0.6012 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008277/0.4866, allocations: 404 kB / 0.6016 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.4866, allocations: 11.97 kB / 0.6016 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4866, allocations: 7.938 kB / 0.6016 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4866, allocations: 4 kB / 0.6016 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.4869, allocations: 301.4 kB / 0.6019 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4869, allocations: 4 kB / 0.6019 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4871, allocations: 23.97 kB / 0.6019 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4871, allocations: 4 kB / 0.6019 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4871, allocations: 4 kB / 0.6019 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.4871, allocations: 3.984 kB / 0.6019 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4871, allocations: 0 / 0.6019 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006764/0.4878, allocations: 381.5 kB / 0.6023 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4879, allocations: 112.9 kB / 0.6024 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.4879, allocations: 0 / 0.6024 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.488, allocations: 19.98 kB / 0.6024 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.4881, allocations: 7.984 kB / 0.6024 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.4881, allocations: 8 kB / 0.6025 GB, free: 7.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.4882, allocations: 106.5 kB / 0.6026 GB, free: 7.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4882, allocations: 0 / 0.6026 GB, free: 7.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002678/0.4909, allocations: 1.149 MB / 0.6037 GB, free: 6.078 MB / 494.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.005832/0.4967, allocations: 2.496 MB / 0.6061 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.4975, allocations: 271.3 kB / 0.6064 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4975, allocations: 0 / 0.6064 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.4978, allocations: 136.3 kB / 0.6065 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.4987, allocations: 160.4 kB / 0.6067 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.501, allocations: 0.9385 MB / 0.6076 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5013, allocations: 0.729 MB / 0.6083 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.5014, allocations: 16.44 kB / 0.6083 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.5015, allocations: 55.42 kB / 0.6084 GB, free: 1.18 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5015, allocations: 0 / 0.6084 GB, free: 1.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2355/0.737, allocations: 33.66 MB / 0.6412 GB, free: 146.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.468/10.2, allocations: 11.42 kB / 0.6412 GB, free: 146.9 MB / 494.1 MB " [Timeout remaining time 650] (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: 12.509540711995214] Failed to read output from testmodel.py, exit status != 0: 10.347975212032907 10.362712722 10.034141679 Calling exit ...