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.000866/0.000866, 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.0008383/0.0008383, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9088/0.9088, 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.02797/0.02797, allocations: 7.517 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.727e-06/3.727e-06, allocations: 0 / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.562e-05, allocations: 2.281 kB / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01412/0.01415, allocations: 16.48 MB / 408.2 MB, free: 5.828 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.02647, allocations: 15.58 MB / 423.8 MB, free: 6.199 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.02668, allocations: 4 kB / 423.8 MB, free: 6.195 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.02733, allocations: 262.6 kB / 424 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.02785, allocations: 242.4 kB / 424.3 MB, free: 5.699 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.01448/0.04233, allocations: 7.741 MB / 432 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.04273, allocations: 369.9 kB / 432.4 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.04279, allocations: 16.58 kB / 432.4 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.04312, allocations: 231.3 kB / 432.6 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.04323, allocations: 75.81 kB / 432.7 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.04325, allocations: 8 kB / 432.7 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01109/0.05434, allocations: 7.608 MB / 440.3 MB, free: 5.637 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.05439, allocations: 23.84 kB / 440.3 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.05456, allocations: 67.86 kB / 440.4 MB, free: 5.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008915/0.06347, allocations: 4.59 MB / 445 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.06348, allocations: 0 / 445 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06348, allocations: 0 / 445 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.06348, allocations: 0 / 445 MB, free: 0.9453 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.1672/0.2306, allocations: 1.041 MB / 446 MB, free: 92.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.2307, allocations: 12.22 kB / 446.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.2307, allocations: 45.52 kB / 446.1 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.2309, allocations: 28.34 kB / 446.1 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2312, allocations: 156.2 kB / 446.3 MB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.2312, allocations: 5.5 kB / 446.3 MB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2312, allocations: 6.219 kB / 446.3 MB, free: 92.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.2314, allocations: 179.3 kB / 446.5 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2314, allocations: 0 / 446.5 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2315, allocations: 6.438 kB / 446.5 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2315, allocations: 11.27 kB / 446.5 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2317, allocations: 162 kB / 446.6 MB, free: 92.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001884/0.2319, allocations: 251.2 kB / 446.9 MB, free: 92.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.2321, allocations: 160.8 kB / 447 MB, free: 92.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.2322, allocations: 138.1 kB / 447.2 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05699/0.2892, allocations: 27.55 MB / 474.7 MB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2892, allocations: 38.38 kB / 474.8 MB, free: 88.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.2892, allocations: 0 / 474.8 MB, free: 88.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007809/0.29, allocations: 493.5 kB / 475.2 MB, free: 88.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.29, allocations: 53.69 kB / 475.3 MB, free: 88.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2901, allocations: 146.2 kB / 475.4 MB, free: 88.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.2902, allocations: 27.02 kB / 475.5 MB, free: 88.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.2902, allocations: 88.72 kB / 475.6 MB, free: 88.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.2903, allocations: 161.5 kB / 475.7 MB, free: 88.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.2903, allocations: 47.97 kB / 475.8 MB, free: 88.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.2904, allocations: 333.4 kB / 476.1 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.2905, allocations: 124.8 kB / 476.2 MB, free: 87.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2907, allocations: 128 kB / 476.3 MB, free: 87.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.291, allocations: 298.2 kB / 476.6 MB, free: 87.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.291, allocations: 0 / 476.6 MB, free: 87.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004042/0.2914, allocations: 345.9 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2915, allocations: 6.094 kB / 477 MB, free: 87.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.2915, allocations: 7.609 kB / 477 MB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2915, allocations: 1.375 kB / 477 MB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2916, allocations: 22.84 kB / 477 MB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2916, allocations: 0 / 477 MB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-05/0.2917, allocations: 28.42 kB / 477 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2917, allocations: 6.172 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 8.425e-05/0.2918, allocations: 125.7 kB / 477.2 MB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.2918, allocations: 21.89 kB / 477.2 MB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.2924, allocations: 419.3 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.2924, allocations: 10.92 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2924, allocations: 2.25 kB / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2924, allocations: 0 / 477.6 MB, free: 87.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.2926, allocations: 256 kB / 477.8 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2926, allocations: 5.188 kB / 477.9 MB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.2927, allocations: 29.05 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.2927, allocations: 1.25 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.2927, allocations: 4.172 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2927, allocations: 1.719 kB / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2927, allocations: 0 / 477.9 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.2932, allocations: 392.7 kB / 478.3 MB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.2933, allocations: 33.47 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2933, allocations: 6.594 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.2934, allocations: 11.97 kB / 478.3 MB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.2935, allocations: 19.09 kB / 478.3 MB, free: 86.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.2935, allocations: 3.906 kB / 478.3 MB, free: 86.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.2936, allocations: 108 kB / 478.5 MB, free: 86.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 0 / 478.5 MB, free: 86.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002943/0.2965, allocations: 1.146 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.003974/0.3005, allocations: 2.664 MB / 482.3 MB, free: 85.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.3009, allocations: 276.4 kB / 482.5 MB, free: 85.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3009, allocations: 0 / 482.5 MB, free: 85.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3011, allocations: 144 kB / 482.7 MB, free: 85.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005725/0.3017, allocations: 170.3 kB / 482.8 MB, free: 84.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.3042, allocations: 2.806 MB / 485.6 MB, free: 82.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.351e-05/0.3042, allocations: 124 kB / 485.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.853e-05/0.3043, allocations: 11.33 kB / 485.8 MB, free: 82.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.3044, allocations: 58.34 kB / 485.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3044, allocations: 0 / 485.8 MB, free: 82.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.3502, allocations: 35.1 MB / 0.5087 GB, free: 48.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.838, allocations: 7.922 kB / 0.5087 GB, free: 48.45 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 & /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: 11.581702628172934] Failed to read output from testmodel.py, exit status != 0: 7.935350581072271 7.946054528 7.880481252 Calling exit ...