Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.001347/0.001347, allocations: 111 kB / 16.46 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.001353/0.001353, 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.36/1.36, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.08212/0.08212, allocations: 9.16 MB / 290.8 MB, free: 13.91 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.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",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.002187/0.002187, allocations: 70.94 kB / 405.8 MB, free: 47.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07335/0.07553, allocations: 50.72 MB / 456.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02286/0.0984, allocations: 18.45 MB / 475 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.1174, allocations: 16.46 MB / 491.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.1175, allocations: 0 / 491.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007653/0.1182, allocations: 318.7 kB / 491.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.1185, allocations: 131.3 kB / 491.9 MB, free: 10.88 MB / 366.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.01838/0.1369, allocations: 7.393 MB / 499.3 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1372, allocations: 254.6 kB / 499.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.1372, allocations: 5.125 kB / 499.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1374, allocations: 99.64 kB / 499.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1375, allocations: 59.67 kB / 499.7 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1375, allocations: 4 kB / 499.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01868/0.1562, allocations: 10.22 MB / 0.4979 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.1562, allocations: 3.938 kB / 0.4979 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1564, allocations: 63.69 kB / 0.498 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.1679, allocations: 4.263 MB / 0.5022 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1679, allocations: 0 / 0.5022 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1679, allocations: 4 kB / 0.5022 GB, free: 4.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1679, allocations: 0 / 0.5022 GB, free: 4.473 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001834/0.1697, allocations: 0.9821 MB / 0.5031 GB, free: 3.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1698, allocations: 12.03 kB / 0.5031 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/0.1698, allocations: 46.55 kB / 0.5032 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1699, allocations: 15.91 kB / 0.5032 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.17, allocations: 182.8 kB / 0.5034 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.17, allocations: 0 / 0.5034 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.17, allocations: 4 kB / 0.5034 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1702, allocations: 121.2 kB / 0.5035 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1702, allocations: 0 / 0.5035 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.1702, allocations: 0 / 0.5035 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1703, allocations: 7.984 kB / 0.5035 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.1704, allocations: 75.97 kB / 0.5036 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.1706, allocations: 265.2 kB / 0.5038 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1708, allocations: 90.5 kB / 0.5039 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1709, allocations: 80.89 kB / 0.504 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3147/0.4855, allocations: 93.06 MB / 0.5949 GB, free: 26.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4856, allocations: 38.56 kB / 0.5949 GB, free: 26.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.575e-06/0.4856, allocations: 0 / 0.5949 GB, free: 26.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0003828/0.4859, allocations: 336.9 kB / 0.5952 GB, free: 25.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.486, allocations: 51.41 kB / 0.5953 GB, free: 25.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.486, allocations: 97.86 kB / 0.5954 GB, free: 25.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.486, allocations: 25.7 kB / 0.5954 GB, free: 25.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.328e-05/0.486, allocations: 81.14 kB / 0.5955 GB, free: 25.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.4861, allocations: 147.2 kB / 0.5956 GB, free: 25.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.4861, allocations: 33.7 kB / 0.5956 GB, free: 25.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.4862, allocations: 330.8 kB / 0.596 GB, free: 25.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.807e-05/0.4862, allocations: 71.98 kB / 0.596 GB, free: 25.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.4863, allocations: 77 kB / 0.5961 GB, free: 24.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4864, allocations: 202.7 kB / 0.5963 GB, free: 24.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4864, allocations: 0 / 0.5963 GB, free: 24.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001879/0.4866, allocations: 231.3 kB / 0.5965 GB, free: 24.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4866, allocations: 4.625 kB / 0.5965 GB, free: 24.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4866, allocations: 4 kB / 0.5965 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4866, allocations: 0 / 0.5965 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.4866, allocations: 3.984 kB / 0.5965 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4867, allocations: 7.938 kB / 0.5965 GB, free: 24.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.4867, allocations: 12.41 kB / 0.5965 GB, free: 24.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.4867, allocations: 4 kB / 0.5966 GB, free: 24.53 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: 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 (6): * Single equations (assignments): 0 * 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 5.71e-05/0.4868, allocations: 117.8 kB / 0.5967 GB, free: 24.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.4868, allocations: 19.84 kB / 0.5967 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.4871, allocations: 380.9 kB / 0.597 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4871, allocations: 3.984 kB / 0.5971 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4871, allocations: 3.938 kB / 0.5971 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4871, allocations: 3.844 kB / 0.5971 GB, free: 24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.4873, allocations: 233.8 kB / 0.5973 GB, free: 23.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4873, allocations: 3.938 kB / 0.5973 GB, free: 23.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-06/0.4873, allocations: 4 kB / 0.5973 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4873, allocations: 4 kB / 0.5973 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.4873, allocations: 4 kB / 0.5973 GB, free: 23.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4873, allocations: 3.984 kB / 0.5973 GB, free: 23.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4873, allocations: 3.938 kB / 0.5973 GB, free: 23.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.4874, allocations: 219.5 kB / 0.5975 GB, free: 23.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.4875, allocations: 89.42 kB / 0.5976 GB, free: 23.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4875, allocations: 6.234 kB / 0.5976 GB, free: 23.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.804e-05/0.4875, allocations: 4 kB / 0.5976 GB, free: 23.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.4875, allocations: 7.938 kB / 0.5976 GB, free: 23.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4875, allocations: 4 kB / 0.5976 GB, free: 23.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.4876, allocations: 99.27 kB / 0.5977 GB, free: 23.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4876, allocations: 3.938 kB / 0.5977 GB, free: 23.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001891/0.4895, allocations: 1.105 MB / 0.5988 GB, free: 22.27 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: 5 (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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003462/0.4929, allocations: 2.306 MB / 0.6011 GB, free: 20.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.4931, allocations: 155.8 kB / 0.6012 GB, free: 19.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.4931, allocations: 0 / 0.6012 GB, free: 19.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.4932, allocations: 67.98 kB / 0.6013 GB, free: 19.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.4939, allocations: 155.4 kB / 0.6014 GB, free: 19.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.4958, allocations: 2.292 MB / 0.6037 GB, free: 17.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.4959, allocations: 0.7168 MB / 0.6044 GB, free: 16.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.496, allocations: 8 kB / 0.6044 GB, free: 16.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.496, allocations: 35.44 kB / 0.6044 GB, free: 16.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.496, allocations: 0 / 0.6044 GB, free: 16.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.5569, allocations: 32.03 MB / 0.6357 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.202/9.759, allocations: 7.953 kB / 0.6357 GB, free: 0.6094 MB / 430.1 MB " [Timeout remaining time 650] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.177588337101042] Failed to read output from testmodel.py, exit status != 0: 9.847467289306223 9.863689325 9.692686078 Calling exit ...