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.0007468/0.0007468, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007591/0.0007591, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8691/0.8691, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02886/0.02886, allocations: 7.51 MB / 266.7 MB, free: 6.207 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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="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: Performance of FrontEnd - loaded program: time 3.477e-06/3.477e-06, allocations: 0 / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.787e-05, allocations: 2.281 kB / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01496/0.01498, allocations: 15.37 MB / 407.1 MB, free: 6.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006466/0.02145, allocations: 9.265 MB / 416.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.02149, allocations: 0 / 416.4 MB, free: 13.65 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.02201, allocations: 247.2 kB / 416.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.02204, allocations: 27.83 kB / 416.6 MB, free: 13.38 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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 main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232: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.009681/0.03172, allocations: 6.039 MB / 422.7 MB, free: 7.336 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.03182, allocations: 55.67 kB / 422.7 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.03186, allocations: 3.984 kB / 422.7 MB, free: 7.277 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.03197, allocations: 51.78 kB / 422.8 MB, free: 7.227 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.03201, allocations: 8 kB / 422.8 MB, free: 7.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.03202, allocations: 3.938 kB / 422.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007443/0.03946, allocations: 6.135 MB / 428.9 MB, free: 1.066 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.03948, allocations: 3.984 kB / 428.9 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.03951, allocations: 8 kB / 428.9 MB, free: 1.055 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006686/0.0462, allocations: 3.601 MB / 432.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.04621, allocations: 7.922 kB / 432.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.04621, allocations: 0 / 432.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.04622, allocations: 0 / 432.5 MB, free: 13.44 MB / 410.7 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.001158/0.04737, allocations: 0.6934 MB / 433.2 MB, free: 12.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.04742, allocations: 12.62 kB / 433.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.04745, allocations: 34.56 kB / 433.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.54e-05/0.04747, allocations: 7.891 kB / 433.3 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.04755, allocations: 109.2 kB / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.04756, allocations: 0 / 433.4 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.04757, allocations: 3.938 kB / 433.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.04766, allocations: 41.69 kB / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.04767, allocations: 0 / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.04768, allocations: 0 / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.04768, allocations: 0 / 433.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.195e-05/0.0477, allocations: 23.94 kB / 433.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.04784, allocations: 136.7 kB / 433.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.04788, allocations: 30.56 kB / 433.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.0479, allocations: 20.89 kB / 433.6 MB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02163/0.06953, allocations: 9.723 MB / 443.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.06956, allocations: 34.56 kB / 443.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.06956, allocations: 0 / 443.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002014/0.06977, allocations: 73.62 kB / 443.5 MB, free: 2.344 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.0698, allocations: 59.34 kB / 443.5 MB, free: 2.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.06986, allocations: 97.84 kB / 443.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.06987, allocations: 29.64 kB / 443.7 MB, free: 2.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.06989, allocations: 84.14 kB / 443.7 MB, free: 2.047 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.06992, allocations: 19.78 kB / 443.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.06995, allocations: 21.86 kB / 443.8 MB, free: 2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.07003, allocations: 314.8 kB / 444.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.07004, allocations: 12 kB / 444.1 MB, free: 1.672 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/0.07006, allocations: 16.22 kB / 444.1 MB, free: 1.656 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.0701, allocations: 40.86 kB / 444.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.0701, allocations: 0 / 444.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.167e-05/0.07016, allocations: 61.69 kB / 444.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.07018, allocations: 8 kB / 444.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.07018, allocations: 0 / 444.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.07019, allocations: 0 / 444.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.635e-06/0.0702, allocations: 7.922 kB / 444.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.0702, allocations: 4.062 kB / 444.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.07022, allocations: 3.953 kB / 444.2 MB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.07023, allocations: 0 / 444.2 MB, free: 1.523 MB / 410.7 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 5.895e-05/0.07029, allocations: 113.8 kB / 444.3 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-06/0.07029, allocations: 0 / 444.3 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.07042, allocations: 182.9 kB / 444.5 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/0.07045, allocations: 176.3 kB / 444.7 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.926e-05/0.07049, allocations: 184.2 kB / 444.9 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/0.07054, allocations: 192.1 kB / 445.1 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.07068, allocations: 384.3 kB / 445.4 MB, free: 212 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-05/0.0707, allocations: 108.9 kB / 445.5 MB, free: 96 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1362/0.2069, allocations: 101.1 kB / 445.6 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.396e-05/0.2069, allocations: 180.5 kB / 445.8 MB, free: 92.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2069, allocations: 183.9 kB / 446 MB, free: 92.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/0.2069, allocations: 180.6 kB / 446.2 MB, free: 92.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.2069, allocations: 180.8 kB / 446.4 MB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.676e-05/0.207, allocations: 307.1 kB / 446.7 MB, free: 91.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.207, allocations: 108.2 kB / 446.8 MB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.207, allocations: 184.2 kB / 446.9 MB, free: 91.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.2071, allocations: 108.5 kB / 447 MB, free: 91.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.2071, allocations: 185.9 kB / 447.2 MB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2071, allocations: 101.6 kB / 447.3 MB, free: 91.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.2071, allocations: 107.6 kB / 447.4 MB, free: 91.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2071, allocations: 0 / 447.4 MB, free: 91.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001397/0.2085, allocations: 0.8757 MB / 448.3 MB, free: 91.13 MB / 410.7 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.002181/0.2107, allocations: 2.184 MB / 450.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.289e-05/0.2108, allocations: 19.05 kB / 450.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2108, allocations: 0 / 450.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.2108, allocations: 3.219 kB / 450.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2111, allocations: 482.4 kB / 451 MB, free: 89.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.212, allocations: 1.764 MB / 452.7 MB, free: 88.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.2121, allocations: 60.91 kB / 452.8 MB, free: 88.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.2121, allocations: 0 / 452.8 MB, free: 88.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.2121, allocations: 18.66 kB / 452.8 MB, free: 88.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2121, allocations: 0 / 452.8 MB, free: 88.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.2489, allocations: 25.91 MB / 478.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.289, allocations: 5.875 kB / 478.7 MB, free: 83.53 MB / 410.7 MB " [Timeout remaining time 653] (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: 8.943880742415786] Failed to read output from testmodel.py, exit status != 0: 7.383186616003513 7.390780959 7.342762036 Calling exit ...