Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.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.001296/0.001296, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001427/0.001427, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.331/1.331, allocations: 207.7 MB / 233.9 MB, free: 9.781 MB / 190.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.04933/0.04933, allocations: 9.156 MB / 295.3 MB, free: 12.51 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.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",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.002042/0.002042, allocations: 66.38 kB / 411.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07305/0.07509, allocations: 50.75 MB / 462.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01837/0.09346, allocations: 15.33 MB / 477.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00977/0.1032, allocations: 9.258 MB / 487.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.1033, allocations: 0 / 487.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.1039, allocations: 243.3 kB / 487.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.104, allocations: 27.83 kB / 487.4 MB, free: 3.598 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: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.01347/0.1174, allocations: 5.983 MB / 493.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1176, allocations: 55.67 kB / 493.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.1176, allocations: 4 kB / 493.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1177, allocations: 31.84 kB / 493.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.349e-05/0.1177, allocations: 19.88 kB / 493.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.106e-06/0.1178, allocations: 0 / 493.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01147/0.1292, allocations: 6.351 MB / 499.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.1292, allocations: 0 / 499.9 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.1293, allocations: 15.94 kB / 499.9 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.1377, allocations: 3.039 MB / 0.4911 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1377, allocations: 0 / 0.4911 GB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1377, allocations: 0 / 0.4911 GB, free: 4.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1377, allocations: 4 kB / 0.4911 GB, free: 4.074 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001406/0.1391, allocations: 0.6895 MB / 0.4918 GB, free: 3.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1392, allocations: 15.98 kB / 0.4918 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.1392, allocations: 0 / 0.4918 GB, free: 3.336 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.1392, allocations: 34.56 kB / 0.4919 GB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1392, allocations: 11.89 kB / 0.4919 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1393, allocations: 117.1 kB / 0.492 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.1393, allocations: 0 / 0.492 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.1394, allocations: 0 / 0.492 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.1395, allocations: 41.69 kB / 0.492 GB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1395, allocations: 0 / 0.492 GB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.1395, allocations: 8 kB / 0.492 GB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.1395, allocations: 3.938 kB / 0.492 GB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.1395, allocations: 15.98 kB / 0.4921 GB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1397, allocations: 132.8 kB / 0.4922 GB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.1397, allocations: 34.55 kB / 0.4922 GB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.284e-05/0.1398, allocations: 12.86 kB / 0.4922 GB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04552/0.1853, allocations: 9.722 MB / 0.5017 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.1853, allocations: 42.5 kB / 0.5018 GB, free: 9.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.485e-06/0.1853, allocations: 0 / 0.5018 GB, free: 9.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002124/0.1855, allocations: 73.62 kB / 0.5018 GB, free: 8.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.1856, allocations: 51.41 kB / 0.5019 GB, free: 8.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.1856, allocations: 97.86 kB / 0.502 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.1857, allocations: 25.7 kB / 0.502 GB, free: 8.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1857, allocations: 84.3 kB / 0.5021 GB, free: 8.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1857, allocations: 23.78 kB / 0.5021 GB, free: 8.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1858, allocations: 17.72 kB / 0.5021 GB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1859, allocations: 314.8 kB / 0.5024 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.1859, allocations: 12 kB / 0.5024 GB, free: 8.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.1859, allocations: 12 kB / 0.5024 GB, free: 8.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.186, allocations: 40.83 kB / 0.5025 GB, free: 8.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.186, allocations: 3.938 kB / 0.5025 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.928e-05/0.1861, allocations: 69.58 kB / 0.5026 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1861, allocations: 9.5 kB / 0.5026 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1861, allocations: 0 / 0.5026 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1861, allocations: 4.062 kB / 0.5026 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1861, allocations: 0 / 0.5026 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1861, allocations: 0 / 0.5026 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.1861, allocations: 4 kB / 0.5026 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1861, allocations: 0 / 0.5026 GB, free: 8.16 MB / 382.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: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.104e-05/0.1862, allocations: 105.8 kB / 0.5027 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.1862, allocations: 11.92 kB / 0.5027 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1864, allocations: 171 kB / 0.5028 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.648e-05/0.1865, allocations: 180.2 kB / 0.503 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-05/0.1865, allocations: 184.2 kB / 0.5032 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.483e-05/0.1866, allocations: 188.2 kB / 0.5034 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1869, allocations: 380.2 kB / 0.5037 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.091e-05/0.1869, allocations: 105 kB / 0.5038 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1869, allocations: 108.9 kB / 0.5039 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.117e-05/0.187, allocations: 180.2 kB / 0.5041 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.1871, allocations: 180.2 kB / 0.5043 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.142e-05/0.1872, allocations: 180.3 kB / 0.5045 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.67e-05/0.1872, allocations: 188.2 kB / 0.5046 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1874, allocations: 303.8 kB / 0.5049 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1874, allocations: 116.8 kB / 0.505 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.39e-05/0.1875, allocations: 192.5 kB / 0.5052 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.1876, allocations: 105 kB / 0.5053 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.1877, allocations: 180.2 kB / 0.5055 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.1877, allocations: 109 kB / 0.5056 GB, free: 4.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.732e-05/0.1878, allocations: 99.27 kB / 0.5057 GB, free: 4.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 0 / 0.5057 GB, free: 4.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002031/0.1898, allocations: 0.8761 MB / 0.5065 GB, free: 3.871 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003567/0.1934, allocations: 2.069 MB / 0.5086 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.73e-05/0.1935, allocations: 19.94 kB / 0.5086 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1935, allocations: 4 kB / 0.5086 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.624e-06/0.1935, allocations: 0 / 0.5086 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.194, allocations: 496.2 kB / 0.5091 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1959, allocations: 1.771 MB / 0.5108 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.041e-05/0.1959, allocations: 59.36 kB / 0.5108 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.189e-05/0.196, allocations: 3.984 kB / 0.5108 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.196, allocations: 11.44 kB / 0.5109 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.196, allocations: 0 / 0.5109 GB, free: 15.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2281/0.4241, allocations: 25.27 MB / 0.5355 GB, free: 58.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.03, allocations: 7.734 kB / 0.5355 GB, free: 58.62 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.472193646943197] Failed to read output from testmodel.py, exit status != 0: 12.2001082689967 12.211255809 12.071218033 Calling exit ...