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.001362/0.001362, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001539/0.001539, allocations: 212 kB / 19.43 MB, free: 3.637 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.46/1.46, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.05077/0.05077, allocations: 9.14 MB / 290.8 MB, free: 13.91 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.002216/0.002216, allocations: 72.86 kB / 405.8 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07293/0.07515, allocations: 50.72 MB / 456.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02133/0.09648, allocations: 16.97 MB / 473.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007006/0.1035, allocations: 5.814 MB / 479.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.1035, allocations: 0 / 479.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000834/0.1044, allocations: 295.7 kB / 479.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.953e-05/0.1044, allocations: 27.84 kB / 479.7 MB, free: 7.066 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.01067/0.1151, allocations: 4.306 MB / 484 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1152, allocations: 51.73 kB / 484 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1153, allocations: 4 kB / 484 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.1153, allocations: 27.8 kB / 484.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.1154, allocations: 11.98 kB / 484.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.423e-06/0.1154, allocations: 3.938 kB / 484.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.1277, allocations: 7.006 MB / 491.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.1277, allocations: 0 / 491.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.1278, allocations: 15.92 kB / 491.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007381/0.1352, allocations: 2.853 MB / 493.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1352, allocations: 0 / 493.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1352, allocations: 4 kB / 493.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1352, allocations: 0 / 493.9 MB, free: 8.762 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.001319/0.1365, allocations: 0.6293 MB / 494.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1365, allocations: 8.031 kB / 494.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.1366, allocations: 34.5 kB / 494.6 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1366, allocations: 7.953 kB / 494.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1368, allocations: 171 kB / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1368, allocations: 0 / 494.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1368, allocations: 3.938 kB / 494.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.1369, allocations: 45.7 kB / 494.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1369, allocations: 0 / 494.8 MB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1369, allocations: 3.938 kB / 494.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1369, allocations: 3.984 kB / 494.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.137, allocations: 15.94 kB / 494.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.1372, allocations: 157.7 kB / 495 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.1372, allocations: 26.58 kB / 495 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.1373, allocations: 20.88 kB / 495.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02081/0.1581, allocations: 9.948 MB / 0.4932 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.1581, allocations: 34.5 kB / 0.4932 GB, free: 11.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.1581, allocations: 0 / 0.4932 GB, free: 11.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002205/0.1583, allocations: 73.62 kB / 0.4933 GB, free: 11.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.1584, allocations: 51.41 kB / 0.4933 GB, free: 11.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.275e-05/0.1585, allocations: 97.86 kB / 0.4934 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.1585, allocations: 25.7 kB / 0.4934 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.1585, allocations: 84.12 kB / 0.4935 GB, free: 11.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.1586, allocations: 27.69 kB / 0.4936 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1586, allocations: 17.72 kB / 0.4936 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1588, allocations: 323 kB / 0.4939 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.1588, allocations: 8 kB / 0.4939 GB, free: 11.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.1588, allocations: 16 kB / 0.4939 GB, free: 11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.1589, allocations: 36.78 kB / 0.4939 GB, free: 10.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1589, allocations: 0 / 0.4939 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.035e-05/0.159, allocations: 65.61 kB / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.159, allocations: 8 kB / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.159, allocations: 0 / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.159, allocations: 0 / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.159, allocations: 0 / 0.494 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.159, allocations: 4.062 kB / 0.494 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.159, allocations: 0 / 0.494 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.159, allocations: 4 kB / 0.494 GB, free: 10.88 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 8.453e-05/0.1591, allocations: 105.8 kB / 0.4941 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.1591, allocations: 11.88 kB / 0.4941 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/0.1593, allocations: 170.8 kB / 0.4943 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-05/0.1594, allocations: 176.3 kB / 0.4945 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.561e-05/0.1595, allocations: 188.2 kB / 0.4946 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.899e-05/0.1596, allocations: 192.2 kB / 0.4948 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1599, allocations: 405.2 kB / 0.4952 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.564e-05/0.1599, allocations: 104.9 kB / 0.4953 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.16, allocations: 104.9 kB / 0.4954 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.661e-05/0.1601, allocations: 184.2 kB / 0.4956 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.1602, allocations: 184.2 kB / 0.4958 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.859e-05/0.1603, allocations: 176.3 kB / 0.4959 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001337/0.1604, allocations: 184.5 kB / 0.4961 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1606, allocations: 303.7 kB / 0.4964 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1607, allocations: 198 kB / 0.4966 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.1608, allocations: 180.3 kB / 0.4967 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1609, allocations: 108.9 kB / 0.4969 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.274e-05/0.161, allocations: 184.2 kB / 0.497 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.324e-05/0.161, allocations: 108.9 kB / 0.4971 GB, free: 7.441 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.99e-05/0.1611, allocations: 95.28 kB / 0.4972 GB, free: 7.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1611, allocations: 4 kB / 0.4972 GB, free: 7.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001833/0.1629, allocations: 0.6152 MB / 0.4978 GB, free: 6.727 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.003497/0.1664, allocations: 1.678 MB / 0.4995 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1665, allocations: 12 kB / 0.4995 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1665, allocations: 0 / 0.4995 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.1665, allocations: 0 / 0.4995 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.1672, allocations: 493.5 kB / 0.4999 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.1692, allocations: 1.634 MB / 0.5015 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1695, allocations: 0.6808 MB / 0.5022 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.83e-05/0.1696, allocations: 4 kB / 0.5022 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.1696, allocations: 7.438 kB / 0.5022 GB, free: 2.086 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1696, allocations: 0 / 0.5022 GB, free: 2.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05749/0.2271, allocations: 20.95 MB / 0.5227 GB, free: 13.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.873/9.1, allocations: 0 / 0.5227 GB, free: 13.14 MB / 414.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.729336933232844] Failed to read output from testmodel.py, exit status != 0: 9.181760537903756 9.200005094 9.061405631 Calling exit ...