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.001302/0.001302, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00159/0.00159, allocations: 210.5 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.05061/0.05061, allocations: 9.137 MB / 321.6 MB, free: 10.24 MB / 254.1 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 0.00191/0.00191, allocations: 63.91 kB / 446.5 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1013, allocations: 54.95 MB / 0.4897 GB, free: 9.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02111/0.1224, allocations: 16.49 MB / 0.5058 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2276/0.35, allocations: 15.56 MB / 0.521 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3503, allocations: 2.625 kB / 0.521 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.3509, allocations: 263.1 kB / 0.5213 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.3514, allocations: 243.9 kB / 0.5215 GB, free: 6.984 MB / 382.1 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.01853/0.37, allocations: 7.635 MB / 0.5289 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.3705, allocations: 351 kB / 0.5293 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.324e-05/0.3705, allocations: 16.52 kB / 0.5293 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.3709, allocations: 170.6 kB / 0.5295 GB, free: 6.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.371, allocations: 100.8 kB / 0.5295 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.371, allocations: 7.188 kB / 0.5296 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/0.3869, allocations: 7.549 MB / 0.5369 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.387, allocations: 24.33 kB / 0.537 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3873, allocations: 86.77 kB / 0.537 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.399, allocations: 3.877 MB / 0.5408 GB, free: 4.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.399, allocations: 1.375 kB / 0.5408 GB, free: 4.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.399, allocations: 0 / 0.5408 GB, free: 4.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.399, allocations: 0 / 0.5408 GB, free: 4.055 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.003325/0.4024, allocations: 1.048 MB / 0.5418 GB, free: 3.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4024, allocations: 9.844 kB / 0.5419 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.4024, allocations: 51 kB / 0.5419 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.4026, allocations: 33.17 kB / 0.5419 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4029, allocations: 155.1 kB / 0.5421 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4029, allocations: 1.406 kB / 0.5421 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.4029, allocations: 6.906 kB / 0.5421 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.4033, allocations: 170.3 kB / 0.5423 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4033, allocations: 0 / 0.5423 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4033, allocations: 5.641 kB / 0.5423 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.4033, allocations: 9.141 kB / 0.5423 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.4037, allocations: 165.9 kB / 0.5424 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002645/0.404, allocations: 259.5 kB / 0.5427 GB, free: 2.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.4043, allocations: 158.3 kB / 0.5428 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.4045, allocations: 139.3 kB / 0.543 GB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1156/0.5201, allocations: 27.56 MB / 0.5699 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.5201, allocations: 38.44 kB / 0.5699 GB, free: 12.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.5201, allocations: 0 / 0.5699 GB, free: 12.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.00111/0.5212, allocations: 495.7 kB / 0.5704 GB, free: 12.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.5213, allocations: 55.41 kB / 0.5704 GB, free: 12.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5214, allocations: 137.8 kB / 0.5706 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.5215, allocations: 29.7 kB / 0.5706 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.5215, allocations: 89.14 kB / 0.5707 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.5217, allocations: 160.1 kB / 0.5708 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/0.5217, allocations: 49.69 kB / 0.5709 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5219, allocations: 330.8 kB / 0.5712 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.5222, allocations: 120.4 kB / 0.5713 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.5224, allocations: 126.1 kB / 0.5714 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000561/0.523, allocations: 303.6 kB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.523, allocations: 3.938 kB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006371/0.5236, allocations: 345.2 kB / 0.5721 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5236, allocations: 5.125 kB / 0.5721 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5236, allocations: 0 / 0.5721 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5237, allocations: 0 / 0.5721 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5238, allocations: 23.98 kB / 0.5721 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5238, allocations: 0 / 0.5721 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.524, allocations: 35.75 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.524, allocations: 8 kB / 0.5721 GB, free: 10.35 MB / 414.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.00012/0.5241, allocations: 126.4 kB / 0.5722 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5242, allocations: 23.8 kB / 0.5723 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008054/0.525, allocations: 415.4 kB / 0.5727 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/0.525, allocations: 16.78 kB / 0.5727 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.525, allocations: 0 / 0.5727 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.525, allocations: 1.688 kB / 0.5727 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.5253, allocations: 263.6 kB / 0.5729 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5253, allocations: 4 kB / 0.5729 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.5254, allocations: 24.55 kB / 0.573 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.5254, allocations: 4.5 kB / 0.573 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.5255, allocations: 4 kB / 0.573 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5255, allocations: 0 / 0.573 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5255, allocations: 4 kB / 0.573 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.5261, allocations: 387.7 kB / 0.5733 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/0.5262, allocations: 39.72 kB / 0.5734 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.5262, allocations: 4 kB / 0.5734 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5264, allocations: 21.14 kB / 0.5734 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.5264, allocations: 7.984 kB / 0.5734 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5264, allocations: 4 kB / 0.5734 GB, free: 8.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.5265, allocations: 105.1 kB / 0.5735 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5265, allocations: 0 / 0.5735 GB, free: 8.863 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003454/0.53, allocations: 1.145 MB / 0.5746 GB, free: 7.715 MB / 414.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.007354/0.5373, allocations: 2.51 MB / 0.5771 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.5381, allocations: 283.2 kB / 0.5774 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5381, allocations: 0 / 0.5774 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.5384, allocations: 144.4 kB / 0.5775 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009247/0.5393, allocations: 160 kB / 0.5776 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.5446, allocations: 2.786 MB / 0.5804 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.5447, allocations: 129.2 kB / 0.5805 GB, free: 1.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.5449, allocations: 10.78 kB / 0.5805 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.5449, allocations: 51.42 kB / 0.5805 GB, free: 1.719 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5449, allocations: 0 / 0.5805 GB, free: 1.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07556/0.6205, allocations: 34.85 MB / 0.6146 GB, free: 15.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.6, allocations: 19.44 kB / 0.6146 GB, free: 15.2 MB / 462.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 & 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: 15.683924833778292] Failed to read output from testmodel.py, exit status != 0: 12.71799465129152 12.733548197 12.331454346 Calling exit ...