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.001312/0.001312, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001402/0.001402, allocations: 208 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.04939/0.04939, allocations: 9.133 MB / 321.6 MB, free: 10.22 MB / 254.1 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 0.001913/0.001913, allocations: 71.89 kB / 446.5 MB, free: 0.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09507, allocations: 54.95 MB / 0.4897 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01895/0.114, allocations: 15.4 MB / 0.5047 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005928/0.1199, allocations: 5.141 MB / 0.5098 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.12, allocations: 0 / 0.5098 GB, free: 4.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.1206, allocations: 231.9 kB / 0.51 GB, free: 4.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.1207, allocations: 23.84 kB / 0.51 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009384/0.13, allocations: 4.246 MB / 0.5141 GB, free: 428 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.1301, allocations: 51.73 kB / 0.5142 GB, free: 376 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1302, allocations: 4 kB / 0.5142 GB, free: 372 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.1303, allocations: 35.78 kB / 0.5142 GB, free: 336 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.1303, allocations: 7.938 kB / 0.5142 GB, free: 328 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.1303, allocations: 4 kB / 0.5142 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1986/0.3289, allocations: 4.667 MB / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.3289, allocations: 0 / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.3289, allocations: 13.83 kB / 0.5188 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.3332, allocations: 2.302 MB / 0.5211 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3332, allocations: 0 / 0.5211 GB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3332, allocations: 1.156 kB / 0.5211 GB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3332, allocations: 0 / 0.5211 GB, free: 10.71 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001175/0.3344, allocations: 0.5531 MB / 0.5216 GB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3344, allocations: 10.03 kB / 0.5216 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.3345, allocations: 36.39 kB / 0.5217 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.3345, allocations: 8.812 kB / 0.5217 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.311e-05/0.3346, allocations: 107.8 kB / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3346, allocations: 1 kB / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.3346, allocations: 0 / 0.5218 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.3347, allocations: 41.84 kB / 0.5218 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3347, allocations: 7.219 kB / 0.5218 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.3347, allocations: 3.438 kB / 0.5218 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3347, allocations: 3.797 kB / 0.5218 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.3347, allocations: 11.92 kB / 0.5218 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.3348, allocations: 132.4 kB / 0.522 GB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.3349, allocations: 29.25 kB / 0.522 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.3349, allocations: 16.72 kB / 0.522 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01412/0.349, allocations: 3.028 MB / 0.525 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.349, allocations: 36.06 kB / 0.525 GB, free: 9.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.349, allocations: 0 / 0.525 GB, free: 9.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001832/0.3492, allocations: 78.27 kB / 0.5251 GB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3493, allocations: 55.91 kB / 0.5251 GB, free: 9.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.635e-05/0.3493, allocations: 94.98 kB / 0.5252 GB, free: 9.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.3493, allocations: 25.7 kB / 0.5252 GB, free: 9.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.465e-05/0.3493, allocations: 88.64 kB / 0.5253 GB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.3493, allocations: 28.67 kB / 0.5253 GB, free: 9.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.3494, allocations: 15.53 kB / 0.5254 GB, free: 9.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.3494, allocations: 316.5 kB / 0.5257 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.3494, allocations: 11.64 kB / 0.5257 GB, free: 9.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.3495, allocations: 12.05 kB / 0.5257 GB, free: 9.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.3495, allocations: 39.8 kB / 0.5257 GB, free: 9.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3495, allocations: 0 / 0.5257 GB, free: 9.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.593e-05/0.3496, allocations: 59.06 kB / 0.5258 GB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3496, allocations: 5.844 kB / 0.5258 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3496, allocations: 1.25 kB / 0.5258 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3496, allocations: 1.859 kB / 0.5258 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3496, allocations: 5.703 kB / 0.5258 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3496, allocations: 1.219 kB / 0.5258 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.3496, allocations: 7.531 kB / 0.5258 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3496, allocations: 2.328 kB / 0.5258 GB, free: 9.082 MB / 382.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: 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.418e-05/0.3497, allocations: 112.7 kB / 0.5259 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.3497, allocations: 9.844 kB / 0.5259 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.825e-05/0.3498, allocations: 172.1 kB / 0.5261 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.3498, allocations: 183.1 kB / 0.5263 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.3498, allocations: 180.1 kB / 0.5264 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.3498, allocations: 180.2 kB / 0.5266 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.35, allocations: 390.7 kB / 0.527 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.35, allocations: 113.4 kB / 0.5271 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.35, allocations: 102.2 kB / 0.5272 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.107e-05/0.35, allocations: 182.8 kB / 0.5274 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3501, allocations: 182.5 kB / 0.5275 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.3501, allocations: 180.5 kB / 0.5277 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-05/0.3501, allocations: 179.8 kB / 0.5279 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.369e-05/0.3502, allocations: 306.9 kB / 0.5282 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3502, allocations: 110.1 kB / 0.5283 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3502, allocations: 184 kB / 0.5284 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.924e-05/0.3503, allocations: 107.2 kB / 0.5285 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3503, allocations: 186.4 kB / 0.5287 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3503, allocations: 105.2 kB / 0.5288 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.3504, allocations: 97.64 kB / 0.5289 GB, free: 5.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3504, allocations: 0 / 0.5289 GB, free: 5.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001908/0.3523, allocations: 0.6096 MB / 0.5295 GB, free: 5.723 MB / 382.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: 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.002498/0.3548, allocations: 1.686 MB / 0.5312 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.148e-05/0.3548, allocations: 15.27 kB / 0.5312 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3548, allocations: 1.25 kB / 0.5312 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.3548, allocations: 1.031 kB / 0.5312 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.3552, allocations: 484.7 kB / 0.5316 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.3569, allocations: 1.648 MB / 0.5333 GB, free: 18.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.357, allocations: 63.61 kB / 0.5333 GB, free: 18.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.273e-05/0.357, allocations: 2.438 kB / 0.5333 GB, free: 18.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.357, allocations: 11.22 kB / 0.5333 GB, free: 18.81 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.357, allocations: 96 / 0.5333 GB, free: 18.81 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05535/0.4124, allocations: 21.6 MB / 0.5544 GB, free: 8.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 9.25 kB / 0.5544 GB, free: 8.727 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.357063143048435] Failed to read output from testmodel.py, exit status != 0: 11.996098045259714 12.011466451 11.674925507 Calling exit ...