Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.001102/0.001102, 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.001266/0.001266, 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.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.02938/0.02938, allocations: 7.512 MB / 266.7 MB, free: 6.191 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_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/2e-05, allocations: 2.281 kB / 391.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01186/0.01188, allocations: 15.38 MB / 407.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003433/0.01531, allocations: 5.144 MB / 412.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.01534, allocations: 0 / 412.2 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.01577, allocations: 235.7 kB / 412.5 MB, free: 1.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.54e-05/0.01581, allocations: 27.84 kB / 412.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005722/0.02153, allocations: 4.306 MB / 416.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.0216, allocations: 51.67 kB / 416.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.02164, allocations: 3.938 kB / 416.9 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.0217, allocations: 47.77 kB / 416.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.62e-05/0.02173, allocations: 4 kB / 416.9 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.02174, allocations: 4 kB / 416.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.02604, allocations: 4.693 MB / 421.6 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.02605, allocations: 7.938 kB / 421.6 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.02608, allocations: 8 kB / 421.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.02885, allocations: 2.724 MB / 424.4 MB, free: 5.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.02886, allocations: 0 / 424.4 MB, free: 5.645 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.02886, allocations: 0 / 424.4 MB, free: 5.645 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.02886, allocations: 0 / 424.4 MB, free: 5.645 MB / 394.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.0007702/0.02963, allocations: 0.5539 MB / 424.9 MB, free: 5.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.02967, allocations: 8.625 kB / 424.9 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.0297, allocations: 42.48 kB / 425 MB, free: 5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.02972, allocations: 3.953 kB / 425 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.753e-05/0.02979, allocations: 105.2 kB / 425.1 MB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.0298, allocations: 8 kB / 425.1 MB, free: 4.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.02981, allocations: 7.938 kB / 425.1 MB, free: 4.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.02989, allocations: 49.62 kB / 425.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.0299, allocations: 0 / 425.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.0299, allocations: 0 / 425.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.02991, allocations: 0 / 425.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.02993, allocations: 15.94 kB / 425.1 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.03004, allocations: 132.8 kB / 425.3 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.873e-05/0.03008, allocations: 26.58 kB / 425.3 MB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.03009, allocations: 16.88 kB / 425.3 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006927/0.03702, allocations: 3.028 MB / 428.3 MB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.03704, allocations: 30.56 kB / 428.4 MB, free: 1.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.03704, allocations: 0 / 428.4 MB, free: 1.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001529/0.0372, allocations: 77.62 kB / 428.4 MB, free: 1.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.03722, allocations: 55.41 kB / 428.5 MB, free: 1.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.03728, allocations: 97.88 kB / 428.6 MB, free: 1.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.03728, allocations: 25.7 kB / 428.6 MB, free: 1.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.404e-05/0.03731, allocations: 92.06 kB / 428.7 MB, free: 1.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.03734, allocations: 19.8 kB / 428.7 MB, free: 1.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.03736, allocations: 17.7 kB / 428.8 MB, free: 1.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.03743, allocations: 318.8 kB / 429.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.03745, allocations: 11.94 kB / 429.1 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.03746, allocations: 15.98 kB / 429.1 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.03749, allocations: 37.16 kB / 429.1 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.0375, allocations: 0 / 429.1 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.914e-05/0.03754, allocations: 61.64 kB / 429.2 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.03756, allocations: 8.188 kB / 429.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.03756, allocations: 4 kB / 429.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.03757, allocations: 3.938 kB / 429.2 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.03757, allocations: 0 / 429.2 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.03758, allocations: 3.984 kB / 429.2 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.0376, allocations: 0 / 429.2 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.0376, allocations: 0 / 429.2 MB, free: 0.5859 MB / 394.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 6.525e-05/0.03767, allocations: 117.8 kB / 429.3 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-06/0.03767, allocations: 0 / 429.3 MB, free: 472 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.03778, allocations: 171 kB / 429.5 MB, free: 276 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/0.03782, allocations: 184.2 kB / 429.7 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.063e-05/0.03787, allocations: 188.2 kB / 429.9 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-05/0.03791, allocations: 180.2 kB / 430 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.03805, allocations: 384.2 kB / 430.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.03807, allocations: 105 kB / 430.5 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.0381, allocations: 101 kB / 430.6 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.382e-05/0.03814, allocations: 188.2 kB / 430.8 MB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.474e-05/0.03819, allocations: 184.2 kB / 431 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.059e-05/0.03823, allocations: 184.1 kB / 431.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.202e-05/0.03827, allocations: 180.2 kB / 431.3 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.03836, allocations: 311.7 kB / 431.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.03839, allocations: 109 kB / 431.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.03845, allocations: 192.1 kB / 431.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.0385, allocations: 104.9 kB / 432 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.03855, allocations: 184.5 kB / 432.2 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.03858, allocations: 101 kB / 432.3 MB, free: 13.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.039e-05/0.03863, allocations: 99.27 kB / 432.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03863, allocations: 0 / 432.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009061/0.03954, allocations: 0.6075 MB / 433 MB, free: 12.57 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.001934/0.04147, allocations: 1.756 MB / 434.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.04154, allocations: 16 kB / 434.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.04154, allocations: 0 / 434.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.352e-06/0.04154, allocations: 0 / 434.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.04188, allocations: 498 kB / 435.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.04294, allocations: 1.636 MB / 436.9 MB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.04298, allocations: 55.36 kB / 437 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.83e-05/0.043, allocations: 0 / 437 MB, free: 8.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.04302, allocations: 20.58 kB / 437 MB, free: 8.465 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.04302, allocations: 4 kB / 437 MB, free: 8.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1538/0.1968, allocations: 21.81 MB / 458.8 MB, free: 84.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.64, allocations: 7.609 kB / 458.8 MB, free: 84.26 MB / 410.7 MB " [Timeout remaining time 652] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.429009465500712] Failed to read output from testmodel.py, exit status != 0: 7.730019116774201 7.741608315 7.7105202010000005 Calling exit ...