Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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.001791/0.001791, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002196/0.002196, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.436/1.436, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] 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.04991/0.04991, allocations: 9.141 MB / 291.5 MB, free: 7.176 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_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",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.002194/0.002194, allocations: 71.91 kB / 406.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2508, allocations: 50.72 MB / 457.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02012/0.2709, allocations: 18.19 MB / 475.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.2889, allocations: 17.57 MB / 493 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.2891, allocations: 4 kB / 493 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.2899, allocations: 330.5 kB / 493.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.2905, allocations: 250.6 kB / 493.6 MB, free: 3.34 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.01873/0.3092, allocations: 7.696 MB / 0.4896 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.3097, allocations: 346.1 kB / 0.4899 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.662e-05/0.3098, allocations: 16.3 kB / 0.4899 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.3101, allocations: 155.4 kB / 0.4901 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3102, allocations: 95.56 kB / 0.4901 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3103, allocations: 8 kB / 0.4901 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01857/0.3288, allocations: 10.8 MB / 0.5007 GB, free: 192 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.3289, allocations: 19.92 kB / 0.5007 GB, free: 172 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.3292, allocations: 103.5 kB / 0.5008 GB, free: 68 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.3418, allocations: 4.469 MB / 0.5052 GB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3418, allocations: 0 / 0.5052 GB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3418, allocations: 0 / 0.5052 GB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3418, allocations: 0 / 0.5052 GB, free: 11.59 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.003187/0.345, allocations: 1.13 MB / 0.5063 GB, free: 10.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.345, allocations: 8.031 kB / 0.5063 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.345, allocations: 8 kB / 0.5063 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.3451, allocations: 42.55 kB / 0.5063 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3451, allocations: 19.86 kB / 0.5064 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.3453, allocations: 202 kB / 0.5065 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3453, allocations: 4 kB / 0.5066 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3453, allocations: 8 kB / 0.5066 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.3457, allocations: 168.2 kB / 0.5067 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.3458, allocations: 0 / 0.5067 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3458, allocations: 4 kB / 0.5067 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3458, allocations: 11.92 kB / 0.5067 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.3462, allocations: 160.3 kB / 0.5069 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.3469, allocations: 497.1 kB / 0.5074 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3472, allocations: 138.9 kB / 0.5075 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.3475, allocations: 129.7 kB / 0.5076 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.154/0.5014, allocations: 93.62 MB / 0.599 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5015, allocations: 34.5 kB / 0.5991 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.5015, allocations: 0 / 0.5991 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=47): time 0.001063/0.5025, allocations: 471.7 kB / 0.5995 GB, free: 10.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5026, allocations: 51.41 kB / 0.5996 GB, free: 10.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.5027, allocations: 142 kB / 0.5997 GB, free: 10.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5027, allocations: 25.7 kB / 0.5997 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.5028, allocations: 101 kB / 0.5998 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5029, allocations: 154.6 kB / 0.6 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.503, allocations: 45.69 kB / 0.6 GB, free: 9.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5031, allocations: 330.8 kB / 0.6003 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.5034, allocations: 124.3 kB / 0.6005 GB, free: 9.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.5036, allocations: 114.1 kB / 0.6006 GB, free: 9.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.5041, allocations: 291.6 kB / 0.6008 GB, free: 8.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5041, allocations: 3.938 kB / 0.6008 GB, free: 8.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006264/0.5048, allocations: 325.2 kB / 0.6012 GB, free: 8.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5048, allocations: 8 kB / 0.6012 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5048, allocations: 0 / 0.6012 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.5048, allocations: 0 / 0.6012 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.505, allocations: 23.97 kB / 0.6012 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.505, allocations: 0 / 0.6012 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.5051, allocations: 35.77 kB / 0.6012 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5051, allocations: 3.984 kB / 0.6012 GB, free: 8.582 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 (11): * Single equations (assignments): 5 * 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.000115/0.5052, allocations: 137.7 kB / 0.6014 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.5053, allocations: 19.86 kB / 0.6014 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007767/0.5061, allocations: 396 kB / 0.6018 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.5061, allocations: 15.92 kB / 0.6018 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5061, allocations: 0 / 0.6018 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5061, allocations: 0 / 0.6018 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5064, allocations: 293.7 kB / 0.602 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.5064, allocations: 0 / 0.602 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.5065, allocations: 19.97 kB / 0.6021 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.5066, allocations: 4 kB / 0.6021 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5066, allocations: 4 kB / 0.6021 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5066, allocations: 0 / 0.6021 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5066, allocations: 4 kB / 0.6021 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006751/0.5072, allocations: 443.9 kB / 0.6025 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.5073, allocations: 116.9 kB / 0.6026 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.5074, allocations: 0 / 0.6026 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5075, allocations: 19.98 kB / 0.6026 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.5076, allocations: 11.98 kB / 0.6026 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5076, allocations: 7.938 kB / 0.6027 GB, free: 7.016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.944e-05/0.5077, allocations: 106.7 kB / 0.6028 GB, free: 6.914 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5077, allocations: 0 / 0.6028 GB, free: 6.914 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002593/0.5102, allocations: 1.149 MB / 0.6039 GB, free: 5.762 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 (11): * Single equations (assignments): 5 * 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.005335/0.5156, allocations: 2.553 MB / 0.6064 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.5163, allocations: 259.3 kB / 0.6066 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5163, allocations: 0 / 0.6066 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5166, allocations: 144.2 kB / 0.6068 GB, free: 2.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.5175, allocations: 159.9 kB / 0.6069 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.5195, allocations: 0.919 MB / 0.6078 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5198, allocations: 0.7328 MB / 0.6085 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.11e-05/0.5199, allocations: 19.97 kB / 0.6085 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.52, allocations: 51.42 kB / 0.6086 GB, free: 0.832 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.52, allocations: 0 / 0.6086 GB, free: 0.832 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2223/0.7423, allocations: 33.62 MB / 0.6414 GB, free: 146.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/10.21, allocations: 19.06 kB / 0.6414 GB, free: 146.6 MB / 494.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.60828510398278] Failed to read output from testmodel.py, exit status != 0: 10.354552516015247 10.362974693 10.019019765 Calling exit ...