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.0008163/0.0008163, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008357/0.0008357, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8776/0.8776, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02838/0.02838, allocations: 7.522 MB / 266.7 MB, free: 6.207 MB / 250.7 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: "" <> 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: Performance of FrontEnd - loaded program: time 3.487e-06/3.487e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.382e-05, allocations: 2.281 kB / 391.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.0145/0.01453, allocations: 16.47 MB / 408.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.0267, allocations: 15.59 MB / 423.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.02692, allocations: 4 kB / 423.8 MB, free: 6.188 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006402/0.02756, allocations: 254.6 kB / 424 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.02802, allocations: 246.4 kB / 424.3 MB, free: 5.695 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.01701/0.04504, allocations: 7.737 MB / 432 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000462/0.0455, allocations: 377.9 kB / 432.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.04556, allocations: 16.58 kB / 432.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.0459, allocations: 219.4 kB / 432.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.04602, allocations: 83.75 kB / 432.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.04604, allocations: 8 kB / 432.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01179/0.05783, allocations: 7.604 MB / 440.3 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.05787, allocations: 27.78 kB / 440.3 MB, free: 5.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.05799, allocations: 71.84 kB / 440.4 MB, free: 5.539 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007958/0.06595, allocations: 4.586 MB / 445 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.06595, allocations: 0 / 445 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.06595, allocations: 0 / 445 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.06596, allocations: 0 / 445 MB, free: 0.9414 MB / 410.7 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.1686/0.2345, allocations: 1.051 MB / 446.1 MB, free: 92.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2346, allocations: 9.844 kB / 446.1 MB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.2346, allocations: 50.31 kB / 446.1 MB, free: 92.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2347, allocations: 23.78 kB / 446.1 MB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.235, allocations: 145.2 kB / 446.3 MB, free: 92.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.235, allocations: 7.969 kB / 446.3 MB, free: 92.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.235, allocations: 3.094 kB / 446.3 MB, free: 92.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.2352, allocations: 184.9 kB / 446.5 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2352, allocations: 0 / 446.5 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.2352, allocations: 3.188 kB / 446.5 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2353, allocations: 13.81 kB / 446.5 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2355, allocations: 159.5 kB / 446.6 MB, free: 92.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.2357, allocations: 251.7 kB / 446.9 MB, free: 92.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.2359, allocations: 156.8 kB / 447 MB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.236, allocations: 137.8 kB / 447.2 MB, free: 92.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05466/0.2906, allocations: 27.56 MB / 474.7 MB, free: 88.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2907, allocations: 35.38 kB / 474.8 MB, free: 88.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 1.233e-06/0.2907, allocations: 0 / 474.8 MB, free: 88.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006288/0.2913, allocations: 495.3 kB / 475.3 MB, free: 88.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/0.2913, allocations: 56.53 kB / 475.3 MB, free: 88.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.177e-05/0.2914, allocations: 145.2 kB / 475.4 MB, free: 88.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2914, allocations: 30.64 kB / 475.5 MB, free: 88.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.2914, allocations: 88.75 kB / 475.6 MB, free: 88.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.2915, allocations: 154.4 kB / 475.7 MB, free: 88.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.2915, allocations: 50.31 kB / 475.8 MB, free: 88.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.2916, allocations: 333.6 kB / 476.1 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.2917, allocations: 122.9 kB / 476.2 MB, free: 87.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.2918, allocations: 130 kB / 476.3 MB, free: 87.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.2921, allocations: 295.5 kB / 476.6 MB, free: 87.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2921, allocations: 0 / 476.6 MB, free: 87.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003256/0.2925, allocations: 350.2 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2925, allocations: 7.812 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2925, allocations: 0 / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2925, allocations: 1.312 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.2926, allocations: 22.91 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2926, allocations: 1.094 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.2926, allocations: 35.91 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.2927, allocations: 7.375 kB / 477 MB, free: 87.36 MB / 410.7 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 5.977e-05/0.2927, allocations: 125.5 kB / 477.2 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2927, allocations: 20.83 kB / 477.2 MB, free: 87.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.2932, allocations: 414.9 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.2932, allocations: 14.34 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2932, allocations: 3.688 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2932, allocations: 0 / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.2933, allocations: 256.8 kB / 477.9 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2933, allocations: 5.391 kB / 477.9 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.2934, allocations: 21.92 kB / 477.9 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2934, allocations: 1.781 kB / 477.9 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2934, allocations: 5.562 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2934, allocations: 0 / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2934, allocations: 5.812 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.2937, allocations: 389.5 kB / 478.3 MB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2938, allocations: 33.02 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2938, allocations: 4.828 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-05/0.2938, allocations: 16.69 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.2939, allocations: 10.92 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.2939, allocations: 11.22 kB / 478.4 MB, free: 86.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.2939, allocations: 107.2 kB / 478.5 MB, free: 86.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2939, allocations: 0 / 478.5 MB, free: 86.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001664/0.2956, allocations: 1.142 MB / 479.6 MB, free: 86.43 MB / 410.7 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.002978/0.2986, allocations: 2.67 MB / 482.3 MB, free: 85.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003603/0.2989, allocations: 276.5 kB / 482.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.2989, allocations: 4 kB / 482.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2991, allocations: 144.4 kB / 482.7 MB, free: 85.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.2996, allocations: 162.5 kB / 482.8 MB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3016, allocations: 2.804 MB / 485.6 MB, free: 82.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.129e-05/0.3016, allocations: 127.7 kB / 485.8 MB, free: 82.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.644e-05/0.3017, allocations: 18.34 kB / 485.8 MB, free: 82.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.3017, allocations: 48.33 kB / 485.8 MB, free: 82.79 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3017, allocations: 0 / 485.8 MB, free: 82.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.3391, allocations: 34.91 MB / 0.5085 GB, free: 48.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.71, allocations: 7.922 kB / 0.5085 GB, free: 48.62 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 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: 10.328127783723176] Failed to read output from testmodel.py, exit status != 0: 7.808240733109415 7.813443434 7.746079611 Calling exit ...