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.0008311/0.0008311, 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.001067/0.001067, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.948/0.948, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.0289/0.0289, allocations: 7.521 MB / 266.7 MB, free: 6.211 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.818e-06/3.818e-06, allocations: 0 / 391.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/3.102e-05, allocations: 2.281 kB / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01538/0.01541, allocations: 16.48 MB / 408.2 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.02719, allocations: 15.59 MB / 423.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.02747, allocations: 0 / 423.8 MB, free: 6.203 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006623/0.02813, allocations: 262.6 kB / 424.1 MB, free: 5.945 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.02858, allocations: 246.4 kB / 424.3 MB, free: 5.703 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.01555/0.04413, allocations: 7.738 MB / 432 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.0446, allocations: 373.9 kB / 432.4 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/0.04466, allocations: 16.58 kB / 432.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.04504, allocations: 227.3 kB / 432.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.04515, allocations: 71.83 kB / 432.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.04517, allocations: 4 kB / 432.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.05684, allocations: 7.608 MB / 440.3 MB, free: 5.648 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.05688, allocations: 27.84 kB / 440.3 MB, free: 5.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.05705, allocations: 71.84 kB / 440.4 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.06787, allocations: 4.586 MB / 445 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.06787, allocations: 0 / 445 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06788, allocations: 0 / 445 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.06788, allocations: 0 / 445 MB, free: 0.9531 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.1694/0.2373, allocations: 1.047 MB / 446 MB, free: 92.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2373, allocations: 10.91 kB / 446.1 MB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.2374, allocations: 50.02 kB / 446.1 MB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.2375, allocations: 24.89 kB / 446.1 MB, free: 92.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2378, allocations: 147.7 kB / 446.3 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2378, allocations: 7.375 kB / 446.3 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2378, allocations: 6.719 kB / 446.3 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.238, allocations: 177.9 kB / 446.5 MB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.238, allocations: 0 / 446.5 MB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2381, allocations: 3.188 kB / 446.5 MB, free: 92.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.2381, allocations: 13.3 kB / 446.5 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.2383, allocations: 163.3 kB / 446.6 MB, free: 92.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.2385, allocations: 251 kB / 446.9 MB, free: 92.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.2387, allocations: 159.8 kB / 447 MB, free: 92.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2388, allocations: 133.2 kB / 447.2 MB, free: 92.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05536/0.2942, allocations: 27.56 MB / 474.7 MB, free: 88.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.2942, allocations: 34.44 kB / 474.8 MB, free: 88.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.2942, allocations: 0 / 474.8 MB, free: 88.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001014/0.2952, allocations: 0.4887 MB / 475.3 MB, free: 88.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.2953, allocations: 52.88 kB / 475.3 MB, free: 88.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2955, allocations: 141.8 kB / 475.4 MB, free: 88.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2955, allocations: 25.7 kB / 475.5 MB, free: 88.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.2955, allocations: 92.45 kB / 475.6 MB, free: 88.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2956, allocations: 154.6 kB / 475.7 MB, free: 88.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.2957, allocations: 46.44 kB / 475.8 MB, free: 88.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.2958, allocations: 338.1 kB / 476.1 MB, free: 87.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.2961, allocations: 119.1 kB / 476.2 MB, free: 87.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2963, allocations: 132.3 kB / 476.3 MB, free: 87.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2967, allocations: 294.4 kB / 476.6 MB, free: 87.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2967, allocations: 0 / 476.6 MB, free: 87.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004572/0.2971, allocations: 351.1 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.2972, allocations: 5.375 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2972, allocations: 0 / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/0.2972, allocations: 0.9062 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2973, allocations: 23.19 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2973, allocations: 1.062 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.2974, allocations: 35.45 kB / 477 MB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2974, allocations: 6.562 kB / 477 MB, free: 87.34 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 8.542e-05/0.2975, allocations: 126.5 kB / 477.2 MB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2975, allocations: 20.02 kB / 477.2 MB, free: 87.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.2981, allocations: 416.3 kB / 477.6 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.2981, allocations: 14.83 kB / 477.6 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2981, allocations: 2.25 kB / 477.6 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2981, allocations: 1.156 kB / 477.6 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.2983, allocations: 258.2 kB / 477.9 MB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2983, allocations: 1.156 kB / 477.9 MB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.2984, allocations: 26.73 kB / 477.9 MB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2984, allocations: 1.25 kB / 477.9 MB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2984, allocations: 5.094 kB / 477.9 MB, free: 86.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2984, allocations: 5.156 kB / 477.9 MB, free: 86.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2984, allocations: 0 / 477.9 MB, free: 86.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.2988, allocations: 384 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.2988, allocations: 41.14 kB / 478.3 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2989, allocations: 1.344 kB / 478.3 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.2989, allocations: 12.02 kB / 478.3 MB, free: 86.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.299, allocations: 20.09 kB / 478.3 MB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.299, allocations: 3.25 kB / 478.3 MB, free: 86.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.299, allocations: 113.5 kB / 478.5 MB, free: 86.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.299, allocations: 0 / 478.5 MB, free: 86.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002535/0.3016, allocations: 1.145 MB / 479.6 MB, free: 86.41 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.004816/0.3064, allocations: 2.667 MB / 482.3 MB, free: 85.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.3069, allocations: 272.5 kB / 482.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3069, allocations: 4 kB / 482.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3071, allocations: 147 kB / 482.7 MB, free: 85.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3076, allocations: 165.4 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.003165/0.3108, allocations: 2.795 MB / 485.6 MB, free: 82.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.493e-05/0.3109, allocations: 131.8 kB / 485.8 MB, free: 82.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.311, allocations: 12.91 kB / 485.8 MB, free: 82.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.3111, allocations: 58.78 kB / 485.8 MB, free: 82.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3111, allocations: 0 / 485.8 MB, free: 82.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.3637, allocations: 35.09 MB / 0.5087 GB, free: 48.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.123, allocations: 6.672 kB / 0.5087 GB, free: 48.46 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.85910739377141] Failed to read output from testmodel.py, exit status != 0: 8.219431390054524 8.22617649 8.156589468 Calling exit ...