Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.0007941/0.0007941, 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.0008001/0.0008001, allocations: 169.9 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.8783/0.8783, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.02862/0.02862, allocations: 7.512 MB / 266.7 MB, free: 6.203 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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 391.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.936e-05, allocations: 5.094 kB / 391.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01253/0.01255, allocations: 15.32 MB / 407 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.1579, allocations: 8.611 MB / 415.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1579, allocations: 1.312 kB / 415.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.1584, allocations: 216.2 kB / 415.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.1585, allocations: 31.83 kB / 415.9 MB, free: 14.86 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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:888:13-888: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.009778/0.1683, allocations: 5.338 MB / 421.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1684, allocations: 48.47 kB / 421.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1684, allocations: 1.312 kB / 421.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1685, allocations: 40.3 kB / 421.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.205e-05/0.1686, allocations: 7.703 kB / 421.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1686, allocations: 4 kB / 421.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008466/0.177, allocations: 5.55 MB / 426.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.177, allocations: 3.25 kB / 426.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1771, allocations: 15.16 kB / 426.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005102/0.1822, allocations: 3.259 MB / 430.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1822, allocations: 4 kB / 430.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1822, allocations: 1.406 kB / 430.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1822, allocations: 0 / 430.2 MB, free: 13.14 MB / 330.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.001265/0.1835, allocations: 0.6371 MB / 430.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1835, allocations: 10.22 kB / 430.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.1835, allocations: 33.38 kB / 430.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.356e-05/0.1836, allocations: 1.375 kB / 430.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.847e-05/0.1836, allocations: 107.8 kB / 431 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1836, allocations: 1.375 kB / 431 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1836, allocations: 3.938 kB / 431 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.241e-05/0.1837, allocations: 47.73 kB / 431 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1837, allocations: 0 / 431 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1837, allocations: 3.938 kB / 431 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1838, allocations: 1.375 kB / 431 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.1838, allocations: 14.86 kB / 431 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1839, allocations: 136.6 kB / 431.2 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.1839, allocations: 31.05 kB / 431.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.1839, allocations: 20.55 kB / 431.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.1942, allocations: 4.398 MB / 435.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.1942, allocations: 43.83 kB / 435.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.1942, allocations: 0 / 435.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001749/0.1944, allocations: 73.78 kB / 435.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.1944, allocations: 53.97 kB / 435.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.771e-05/0.1945, allocations: 95.92 kB / 435.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.1945, allocations: 25.7 kB / 435.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-06/0.1945, allocations: 80.14 kB / 436 MB, free: 9.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1945, allocations: 22.59 kB / 436 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.1945, allocations: 19.38 kB / 436 MB, free: 9.914 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.1946, allocations: 314.8 kB / 436.3 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.1946, allocations: 21.92 kB / 436.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.1946, allocations: 13.47 kB / 436.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.1946, allocations: 36.53 kB / 436.4 MB, free: 9.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1946, allocations: 7.031 kB / 436.4 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.938e-05/0.1947, allocations: 65.92 kB / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1947, allocations: 2.969 kB / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1947, allocations: 2.906 kB / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1947, allocations: 2.906 kB / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.1947, allocations: 0 / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1947, allocations: 2.266 kB / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.1947, allocations: 64 / 436.5 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.1948, allocations: 6.688 kB / 436.5 MB, free: 9.5 MB / 330.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 4.07e-05/0.1948, allocations: 109.8 kB / 436.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.1948, allocations: 2.969 kB / 436.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1949, allocations: 178.6 kB / 436.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.1949, allocations: 181.8 kB / 436.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.1949, allocations: 182.5 kB / 437.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.1949, allocations: 179.5 kB / 437.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.415e-05/0.195, allocations: 387.6 kB / 437.7 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.195, allocations: 108.3 kB / 437.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-06/0.195, allocations: 105.9 kB / 437.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.1951, allocations: 183.1 kB / 438.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1951, allocations: 179.4 kB / 438.2 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/0.1951, allocations: 179.5 kB / 438.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.1951, allocations: 180.3 kB / 438.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.715e-05/0.1951, allocations: 312.1 kB / 438.9 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.1952, allocations: 107.9 kB / 439 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1952, allocations: 185.2 kB / 439.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.1952, allocations: 112.1 kB / 439.3 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.1952, allocations: 182.2 kB / 439.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1952, allocations: 101 kB / 439.6 MB, free: 6.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.625e-05/0.1953, allocations: 110 kB / 439.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1953, allocations: 0 / 439.7 MB, free: 6.184 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001625/0.1969, allocations: 0.7527 MB / 440.4 MB, free: 5.996 MB / 330.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.002299/0.1992, allocations: 2.01 MB / 442.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.115e-05/0.1993, allocations: 24.77 kB / 442.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1993, allocations: 0 / 442.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1993, allocations: 0 / 442.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1996, allocations: 481.2 kB / 442.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.2005, allocations: 1.713 MB / 444.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.688e-05/0.2005, allocations: 65.28 kB / 444.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.849e-05/0.2005, allocations: 4.188 kB / 444.7 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.2006, allocations: 12.62 kB / 444.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2006, allocations: 0 / 444.7 MB, free: 2.719 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.2388, allocations: 24.06 MB / 468.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.629, allocations: 3.094 kB / 468.8 MB, free: 11.03 MB / 362.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.344674354419112] Failed to read output from testmodel.py, exit status != 0: 7.719354294240475 7.729205748 7.544665748 Calling exit ...