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.001244/0.001244, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001403/0.001403, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.309/1.309, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] 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.04873/0.04873, allocations: 9.165 MB / 295.2 MB, free: 12.78 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.002055/0.002055, allocations: 70.78 kB / 411.8 MB, free: 46.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06664/0.06869, allocations: 50.76 MB / 462.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01983/0.08852, allocations: 17.01 MB / 479.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.09936, allocations: 10.48 MB / 490.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.09941, allocations: 0 / 490.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.1001, allocations: 299.3 kB / 490.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.1001, allocations: 27.84 kB / 490.4 MB, free: 0.8281 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.01332/0.1134, allocations: 6.097 MB / 496.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.1135, allocations: 51.73 kB / 496.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1136, allocations: 4 kB / 496.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1137, allocations: 39.78 kB / 496.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.1137, allocations: 11.94 kB / 496.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.1137, allocations: 0 / 496.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.1284, allocations: 9.229 MB / 0.494 GB, free: 1.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1285, allocations: 7.938 kB / 0.494 GB, free: 1.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1285, allocations: 11.94 kB / 0.494 GB, free: 1.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007613/0.1361, allocations: 3.64 MB / 0.4976 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1361, allocations: 0 / 0.4976 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1361, allocations: 0 / 0.4976 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1361, allocations: 0 / 0.4976 GB, free: 13.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001358/0.1375, allocations: 0.7012 MB / 0.4982 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1375, allocations: 15.97 kB / 0.4983 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.543e-05/0.1376, allocations: 0 / 0.4983 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1376, allocations: 30.56 kB / 0.4983 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.1376, allocations: 15.89 kB / 0.4983 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.1377, allocations: 101.2 kB / 0.4984 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1377, allocations: 4 kB / 0.4984 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.1377, allocations: 0 / 0.4984 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1379, allocations: 53.61 kB / 0.4984 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.1379, allocations: 3.938 kB / 0.4985 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1379, allocations: 4 kB / 0.4985 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1379, allocations: 3.938 kB / 0.4985 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.652e-05/0.1379, allocations: 12 kB / 0.4985 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.1381, allocations: 136.8 kB / 0.4986 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.1381, allocations: 30.56 kB / 0.4986 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.1382, allocations: 12.89 kB / 0.4986 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04316/0.1813, allocations: 9.691 MB / 0.5081 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.1814, allocations: 34.5 kB / 0.5081 GB, free: 2.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.1814, allocations: 0 / 0.5081 GB, free: 2.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002154/0.1816, allocations: 77.67 kB / 0.5082 GB, free: 2.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1816, allocations: 51.41 kB / 0.5083 GB, free: 2.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.1817, allocations: 97.84 kB / 0.5084 GB, free: 2.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1817, allocations: 25.7 kB / 0.5084 GB, free: 2.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1818, allocations: 88.23 kB / 0.5085 GB, free: 2.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1818, allocations: 23.8 kB / 0.5085 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1818, allocations: 17.7 kB / 0.5085 GB, free: 2.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.182, allocations: 314.8 kB / 0.5088 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.182, allocations: 11.94 kB / 0.5088 GB, free: 1.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.182, allocations: 15.98 kB / 0.5088 GB, free: 1.949 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.1821, allocations: 32.86 kB / 0.5089 GB, free: 1.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1821, allocations: 0 / 0.5089 GB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.174e-05/0.1822, allocations: 69.67 kB / 0.5089 GB, free: 1.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1822, allocations: 7.938 kB / 0.5089 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1822, allocations: 3.984 kB / 0.5089 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1822, allocations: 0 / 0.5089 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.1822, allocations: 0 / 0.5089 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1822, allocations: 0 / 0.5089 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.1822, allocations: 3.938 kB / 0.5089 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1822, allocations: 4 kB / 0.5089 GB, free: 1.82 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.613e-05/0.1823, allocations: 113.8 kB / 0.5091 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.1823, allocations: 15.95 kB / 0.5091 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.1825, allocations: 170.9 kB / 0.5092 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/0.1826, allocations: 176.3 kB / 0.5094 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.251e-05/0.1826, allocations: 184.2 kB / 0.5096 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-05/0.1827, allocations: 176.3 kB / 0.5097 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.183, allocations: 388.2 kB / 0.5101 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.523e-05/0.183, allocations: 109 kB / 0.5102 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1831, allocations: 105 kB / 0.5103 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.1831, allocations: 184.1 kB / 0.5105 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-05/0.1832, allocations: 180.3 kB / 0.5107 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.99e-05/0.1833, allocations: 180.2 kB / 0.5108 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-05/0.1834, allocations: 184.3 kB / 0.511 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.1836, allocations: 307.8 kB / 0.5113 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.1836, allocations: 104.9 kB / 0.5114 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.1837, allocations: 188.4 kB / 0.5116 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.544e-05/0.1838, allocations: 109 kB / 0.5117 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.1839, allocations: 188.2 kB / 0.5119 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.1839, allocations: 105 kB / 0.512 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.184, allocations: 103.2 kB / 0.5121 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.184, allocations: 0 / 0.5121 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001991/0.186, allocations: 0.8761 MB / 0.5129 GB, free: 13.53 MB / 398.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.004069/0.1901, allocations: 2.069 MB / 0.5149 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.519e-05/0.1902, allocations: 12 kB / 0.515 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1902, allocations: 0 / 0.515 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.36e-05/0.1902, allocations: 3.938 kB / 0.515 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.1907, allocations: 498.3 kB / 0.5154 GB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1928, allocations: 1.775 MB / 0.5172 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1931, allocations: 0.6808 MB / 0.5178 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.947e-05/0.1932, allocations: 0 / 0.5178 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.1932, allocations: 15.44 kB / 0.5179 GB, free: 8.34 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1932, allocations: 0 / 0.5179 GB, free: 8.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2104/0.4036, allocations: 25.1 MB / 0.5424 GB, free: 62.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 9.75 kB / 0.5424 GB, free: 62.12 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.128002726938576] Failed to read output from testmodel.py, exit status != 0: 11.918697613989934 11.92964071 11.790524532 Calling exit ...