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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 108.8 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.389/1.389, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05121/0.05121, allocations: 9.148 MB / 290.8 MB, free: 13.92 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.61 kB / 405.8 MB, free: 47.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0713/0.07344, allocations: 50.71 MB / 456.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.02152/0.09496, allocations: 16.96 MB / 473.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.1067, allocations: 10.48 MB / 484 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.1068, allocations: 0 / 484 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.1075, allocations: 299.2 kB / 484.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.1076, allocations: 35.83 kB / 484.3 MB, free: 2.379 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.01431/0.1219, allocations: 6.018 MB / 490.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.122, allocations: 51.72 kB / 490.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.122, allocations: 3.984 kB / 490.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1221, allocations: 31.86 kB / 490.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.1222, allocations: 15.88 kB / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-06/0.1222, allocations: 0 / 490.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01517/0.1374, allocations: 8.909 MB / 499.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1374, allocations: 3.938 kB / 499.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.1374, allocations: 11.94 kB / 499.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008904/0.1463, allocations: 3.632 MB / 0.4912 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1463, allocations: 0 / 0.4912 GB, free: 15.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1463, allocations: 4 kB / 0.4912 GB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1463, allocations: 0 / 0.4912 GB, free: 15.67 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.001492/0.1478, allocations: 0.7726 MB / 0.4919 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1479, allocations: 8.031 kB / 0.4919 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1479, allocations: 34.56 kB / 0.492 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.148, allocations: 11.89 kB / 0.492 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.1481, allocations: 159.1 kB / 0.4921 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1481, allocations: 3.984 kB / 0.4921 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.1481, allocations: 0 / 0.4921 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.858e-05/0.1482, allocations: 37.7 kB / 0.4922 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1482, allocations: 3.938 kB / 0.4922 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.1482, allocations: 0 / 0.4922 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1482, allocations: 4 kB / 0.4922 GB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.1483, allocations: 23.86 kB / 0.4922 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.1485, allocations: 165.7 kB / 0.4924 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.528e-05/0.1485, allocations: 26.58 kB / 0.4924 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.1485, allocations: 16.89 kB / 0.4924 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06276/0.2113, allocations: 33.03 MB / 0.5247 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.2114, allocations: 34.5 kB / 0.5247 GB, free: 7.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.2114, allocations: 0 / 0.5247 GB, free: 7.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000249/0.2116, allocations: 77.61 kB / 0.5248 GB, free: 7.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.2117, allocations: 55.41 kB / 0.5248 GB, free: 7.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.2118, allocations: 97.83 kB / 0.5249 GB, free: 7.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2118, allocations: 25.7 kB / 0.5249 GB, free: 7.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.2118, allocations: 84.14 kB / 0.525 GB, free: 7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.2119, allocations: 23.78 kB / 0.5251 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.2119, allocations: 13.72 kB / 0.5251 GB, free: 6.957 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2121, allocations: 318.8 kB / 0.5254 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.2121, allocations: 12 kB / 0.5254 GB, free: 6.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.2121, allocations: 8 kB / 0.5254 GB, free: 6.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.2122, allocations: 40.94 kB / 0.5254 GB, free: 6.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2122, allocations: 4 kB / 0.5254 GB, free: 6.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.08e-05/0.2122, allocations: 61.64 kB / 0.5255 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2123, allocations: 7.938 kB / 0.5255 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2123, allocations: 0 / 0.5255 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.2123, allocations: 0 / 0.5255 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2123, allocations: 0 / 0.5255 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2123, allocations: 4.312 kB / 0.5255 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.2123, allocations: 3.938 kB / 0.5255 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.2123, allocations: 0 / 0.5255 GB, free: 6.488 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: 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.7e-05/0.2124, allocations: 117.9 kB / 0.5256 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.2124, allocations: 7.938 kB / 0.5256 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.2126, allocations: 170.8 kB / 0.5258 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-05/0.2127, allocations: 180.3 kB / 0.526 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.968e-05/0.2128, allocations: 188.2 kB / 0.5261 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-05/0.2129, allocations: 176.3 kB / 0.5263 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.2131, allocations: 417.1 kB / 0.5267 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.603e-05/0.2132, allocations: 101 kB / 0.5268 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.2132, allocations: 105 kB / 0.5269 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.048e-05/0.2133, allocations: 188.1 kB / 0.5271 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.2134, allocations: 180.3 kB / 0.5273 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.976e-05/0.2135, allocations: 188.2 kB / 0.5274 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.479e-05/0.2136, allocations: 180.3 kB / 0.5276 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.2138, allocations: 307.8 kB / 0.5279 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.2139, allocations: 178.1 kB / 0.5281 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.214, allocations: 192.3 kB / 0.5283 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.2141, allocations: 105 kB / 0.5284 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.2142, allocations: 180.3 kB / 0.5285 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.2142, allocations: 108.9 kB / 0.5286 GB, free: 3.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.959e-05/0.2143, allocations: 107.2 kB / 0.5287 GB, free: 2.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2143, allocations: 0 / 0.5287 GB, free: 2.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002089/0.2164, allocations: 0.8761 MB / 0.5296 GB, free: 2.066 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: 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.1728/0.3892, allocations: 2.076 MB / 0.5316 GB, free: 89.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.3893, allocations: 17.14 kB / 0.5316 GB, free: 89.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3893, allocations: 1.188 kB / 0.5316 GB, free: 89.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.3893, allocations: 0.6094 kB / 0.5316 GB, free: 89.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.3898, allocations: 491 kB / 0.5321 GB, free: 88.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.392, allocations: 1.753 MB / 0.5338 GB, free: 87.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3922, allocations: 0.6764 MB / 0.5345 GB, free: 86.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.3922, allocations: 3.062 kB / 0.5345 GB, free: 86.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.3922, allocations: 18.73 kB / 0.5345 GB, free: 86.95 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3922, allocations: 1.422 kB / 0.5345 GB, free: 86.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/0.4472, allocations: 25 MB / 0.5589 GB, free: 72.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.174, allocations: 4.062 kB / 0.5589 GB, free: 72.55 MB / 414.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.63612546492368] Failed to read output from testmodel.py, exit status != 0: 9.255785649176687 9.266417758 9.11777068 Calling exit ...