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.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.001288/0.001288, allocations: 101.3 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.001396/0.001396, allocations: 220.4 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.355/1.355, allocations: 207.7 MB / 233.9 MB, free: 9.777 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.0492/0.0492, allocations: 9.145 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.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_SinglePhase_setState",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.002111/0.002111, allocations: 68.08 kB / 411.8 MB, free: 46.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07346/0.07557, allocations: 50.76 MB / 462.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01942/0.09499, allocations: 16.67 MB / 479.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.11, allocations: 14.53 MB / 493.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1102, allocations: 0 / 493.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000661/0.1108, allocations: 258.8 kB / 494 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.111, allocations: 127.3 kB / 494.2 MB, free: 12.84 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.01595/0.127, allocations: 7.355 MB / 0.4898 GB, free: 5.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.1273, allocations: 238.8 kB / 0.49 GB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.1273, allocations: 9.25 kB / 0.49 GB, free: 5.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1275, allocations: 111.5 kB / 0.4901 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.1276, allocations: 59.73 kB / 0.4902 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1276, allocations: 4 kB / 0.4902 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.1403, allocations: 7.368 MB / 0.4974 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1403, allocations: 15.88 kB / 0.4974 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.1405, allocations: 55.78 kB / 0.4974 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008613/0.1491, allocations: 3.682 MB / 0.501 GB, free: 9.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.1491, allocations: 4 kB / 0.501 GB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1491, allocations: 0 / 0.501 GB, free: 9.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1491, allocations: 0 / 0.501 GB, free: 9.926 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.001813/0.1509, allocations: 0.9068 MB / 0.5019 GB, free: 8.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1509, allocations: 11.98 kB / 0.5019 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.549e-05/0.151, allocations: 8 kB / 0.5019 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.151, allocations: 42.55 kB / 0.502 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.151, allocations: 15.89 kB / 0.502 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1512, allocations: 125 kB / 0.5021 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-06/0.1512, allocations: 0 / 0.5021 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1512, allocations: 4 kB / 0.5021 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1514, allocations: 117.7 kB / 0.5022 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1514, allocations: 0 / 0.5022 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1514, allocations: 0 / 0.5022 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1514, allocations: 7.984 kB / 0.5022 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1515, allocations: 95.69 kB / 0.5023 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.1517, allocations: 224.3 kB / 0.5025 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1519, allocations: 102.5 kB / 0.5026 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.152, allocations: 88.83 kB / 0.5027 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2884/0.4404, allocations: 27.52 MB / 0.5296 GB, free: 73.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4404, allocations: 30.56 kB / 0.5296 GB, free: 73.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.327e-06/0.4404, allocations: 1.781 kB / 0.5296 GB, free: 73.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0005559/0.441, allocations: 346.8 kB / 0.5299 GB, free: 73.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.441, allocations: 55.12 kB / 0.53 GB, free: 73.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/0.441, allocations: 96.19 kB / 0.5301 GB, free: 73.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.441, allocations: 29.89 kB / 0.5301 GB, free: 73.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.649e-05/0.4411, allocations: 82.64 kB / 0.5302 GB, free: 73.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.914e-05/0.4411, allocations: 136.3 kB / 0.5303 GB, free: 73.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.4412, allocations: 37.88 kB / 0.5304 GB, free: 73.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.4412, allocations: 329.4 kB / 0.5307 GB, free: 73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.4413, allocations: 80.02 kB / 0.5308 GB, free: 73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.314e-05/0.4414, allocations: 83.47 kB / 0.5308 GB, free: 73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.4416, allocations: 212.1 kB / 0.531 GB, free: 72.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4416, allocations: 0 / 0.531 GB, free: 72.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002408/0.4418, allocations: 241 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4419, allocations: 6.25 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4419, allocations: 0.875 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4419, allocations: 1.312 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.4419, allocations: 0.75 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4419, allocations: 5.031 kB / 0.5313 GB, free: 72.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.096e-05/0.4419, allocations: 20.41 kB / 0.5313 GB, free: 72.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.442, allocations: 2.297 kB / 0.5313 GB, free: 72.86 MB / 398.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 6.347e-05/0.442, allocations: 122 kB / 0.5314 GB, free: 72.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.442, allocations: 13.89 kB / 0.5314 GB, free: 72.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.4424, allocations: 387.2 kB / 0.5318 GB, free: 72.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4424, allocations: 9.656 kB / 0.5318 GB, free: 72.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4424, allocations: 3.844 kB / 0.5318 GB, free: 72.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4424, allocations: 5.078 kB / 0.5318 GB, free: 72.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4426, allocations: 209.8 kB / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4426, allocations: 7.406 kB / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4426, allocations: 0 / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4426, allocations: 1.312 kB / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4426, allocations: 5.312 kB / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4426, allocations: 0 / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4426, allocations: 0 / 0.532 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.4428, allocations: 235.2 kB / 0.5323 GB, free: 72.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.4428, allocations: 16.31 kB / 0.5323 GB, free: 72.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.4428, allocations: 6.828 kB / 0.5323 GB, free: 72.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.4429, allocations: 0 / 0.5323 GB, free: 72.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.4429, allocations: 5.141 kB / 0.5323 GB, free: 72.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4429, allocations: 2.141 kB / 0.5323 GB, free: 72.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.443, allocations: 100 kB / 0.5324 GB, free: 72.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.443, allocations: 0 / 0.5324 GB, free: 72.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002381/0.4453, allocations: 1.109 MB / 0.5335 GB, free: 72.02 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: 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.004611/0.4499, allocations: 2.316 MB / 0.5357 GB, free: 71.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4502, allocations: 158 kB / 0.5359 GB, free: 71.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4502, allocations: 1.094 kB / 0.5359 GB, free: 71.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.785e-05/0.4502, allocations: 72.62 kB / 0.5359 GB, free: 71.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007508/0.451, allocations: 153.2 kB / 0.5361 GB, free: 70.99 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.4534, allocations: 2.332 MB / 0.5384 GB, free: 69.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.4534, allocations: 100.3 kB / 0.5385 GB, free: 69.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.4535, allocations: 10.98 kB / 0.5385 GB, free: 69.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.4535, allocations: 38.67 kB / 0.5385 GB, free: 69.24 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4535, allocations: 0 / 0.5385 GB, free: 69.24 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/0.5073, allocations: 32.87 MB / 0.5706 GB, free: 39.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.26, allocations: 8.016 kB / 0.5706 GB, free: 39.64 MB / 398.1 MB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 14.764551438973285] Failed to read output from testmodel.py, exit status != 0: 12.427935197018087 12.437442548 12.286228336 Calling exit ...