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.001347/0.001347, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001531/0.001531, allocations: 218.6 kB / 22.26 MB, free: 5.117 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.444/1.444, allocations: 207.6 MB / 233 MB, free: 10 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.09113/0.09113, allocations: 9.166 MB / 294.4 MB, free: 12.69 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.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: 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.002214/0.002214, allocations: 75.83 kB / 411.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07279/0.07501, allocations: 50.75 MB / 461.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02091/0.09591, allocations: 17.02 MB / 478.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006346/0.1023, allocations: 5.806 MB / 484.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.1023, allocations: 0 / 484.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006565/0.1029, allocations: 295.7 kB / 484.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.103, allocations: 35.83 kB / 485 MB, free: 5.504 MB / 350.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'. Notification: Performance of NFTyping.typeClassSections: time 0.009735/0.1127, allocations: 4.364 MB / 489.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1128, allocations: 51.73 kB / 489.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1129, allocations: 0 / 489.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.416e-05/0.1129, allocations: 27.81 kB / 489.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.113, allocations: 11.98 kB / 489.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.006e-06/0.113, allocations: 3.938 kB / 489.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.1247, allocations: 7.314 MB / 496.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.1247, allocations: 0 / 496.7 MB, free: 9.711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.27e-05/0.1248, allocations: 11.94 kB / 496.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.1303, allocations: 2.868 MB / 499.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1303, allocations: 0 / 499.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1303, allocations: 0 / 499.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1303, allocations: 0 / 499.6 MB, free: 6.824 MB / 366.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.001013/0.1313, allocations: 0.554 MB / 0.4884 GB, free: 6.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1314, allocations: 15.98 kB / 0.4885 GB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.1314, allocations: 38.5 kB / 0.4885 GB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.1314, allocations: 3.953 kB / 0.4885 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.1315, allocations: 117.1 kB / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1315, allocations: 0 / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.1315, allocations: 0 / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.1316, allocations: 41.69 kB / 0.4886 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1317, allocations: 0 / 0.4886 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1317, allocations: 3.938 kB / 0.4886 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1317, allocations: 0 / 0.4886 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.1317, allocations: 16 kB / 0.4887 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1319, allocations: 128.8 kB / 0.4888 GB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/0.1319, allocations: 42.5 kB / 0.4888 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.1319, allocations: 20.83 kB / 0.4888 GB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01601/0.148, allocations: 3.012 MB / 0.4918 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.148, allocations: 42.48 kB / 0.4918 GB, free: 2.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.148, allocations: 0 / 0.4918 GB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002114/0.1482, allocations: 73.67 kB / 0.4919 GB, free: 2.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.1483, allocations: 55.34 kB / 0.492 GB, free: 2.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.1483, allocations: 97.86 kB / 0.492 GB, free: 2.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1484, allocations: 25.7 kB / 0.4921 GB, free: 2.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.1484, allocations: 80.14 kB / 0.4921 GB, free: 2.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1484, allocations: 35.83 kB / 0.4922 GB, free: 2.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1485, allocations: 17.72 kB / 0.4922 GB, free: 2.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1486, allocations: 310.8 kB / 0.4925 GB, free: 1.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.68e-05/0.1486, allocations: 19.98 kB / 0.4925 GB, free: 1.902 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.1487, allocations: 8 kB / 0.4925 GB, free: 1.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/0.1487, allocations: 32.84 kB / 0.4926 GB, free: 1.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1487, allocations: 4 kB / 0.4926 GB, free: 1.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.803e-05/0.1488, allocations: 65.62 kB / 0.4926 GB, free: 1.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1488, allocations: 6.5 kB / 0.4926 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1488, allocations: 8 kB / 0.4926 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1488, allocations: 0 / 0.4926 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1488, allocations: 0 / 0.4926 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1488, allocations: 4 kB / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.1489, allocations: 4 kB / 0.4926 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1489, allocations: 0 / 0.4926 GB, free: 1.766 MB / 366.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 8.981e-05/0.149, allocations: 105.8 kB / 0.4927 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.149, allocations: 11.89 kB / 0.4928 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.1491, allocations: 167 kB / 0.4929 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.053e-05/0.1492, allocations: 188.2 kB / 0.4931 GB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.182e-05/0.1493, allocations: 180.3 kB / 0.4933 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/0.1494, allocations: 176.3 kB / 0.4934 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.1496, allocations: 384.2 kB / 0.4938 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.317e-05/0.1497, allocations: 101 kB / 0.4939 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.1497, allocations: 116.9 kB / 0.494 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.937e-05/0.1498, allocations: 176.3 kB / 0.4942 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/0.1499, allocations: 180.2 kB / 0.4943 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.941e-05/0.15, allocations: 180.3 kB / 0.4945 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.477e-05/0.1501, allocations: 192.2 kB / 0.4947 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.1502, allocations: 311.7 kB / 0.495 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.1503, allocations: 112.9 kB / 0.4951 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.1504, allocations: 184.2 kB / 0.4953 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.1505, allocations: 101 kB / 0.4954 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.1506, allocations: 184.1 kB / 0.4956 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.1506, allocations: 109 kB / 0.4957 GB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.1507, allocations: 99.27 kB / 0.4957 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1507, allocations: 0 / 0.4957 GB, free: 14.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001607/0.1523, allocations: 0.6113 MB / 0.4963 GB, free: 13.75 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.002849/0.1551, allocations: 1.686 MB / 0.498 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.073e-05/0.1552, allocations: 19.92 kB / 0.498 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.1552, allocations: 4.062 kB / 0.498 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.1552, allocations: 0 / 0.498 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000589/0.1558, allocations: 487.9 kB / 0.4985 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1576, allocations: 1.639 MB / 0.5001 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.1579, allocations: 0.6806 MB / 0.5007 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.1579, allocations: 0 / 0.5007 GB, free: 9.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.1579, allocations: 15.44 kB / 0.5008 GB, free: 9.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1579, allocations: 0 / 0.5008 GB, free: 9.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05627/0.2142, allocations: 21.03 MB / 0.5213 GB, free: 4.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.18, allocations: 3.953 kB / 0.5213 GB, free: 4.043 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: 15.006480625001132] Failed to read output from testmodel.py, exit status != 0: 12.291393648003577 12.477918351 12.344955122 Calling exit ...