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.001713/0.001713, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002003/0.002003, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.472/1.472, allocations: 207.6 MB / 233 MB, free: 9.98 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.05342/0.05342, allocations: 9.163 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.002217/0.002217, allocations: 71.86 kB / 411.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06487/0.06709, allocations: 50.76 MB / 461.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02063/0.08772, allocations: 17.01 MB / 478.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00665/0.09437, allocations: 5.806 MB / 484.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.0944, allocations: 0 / 484.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000671/0.09507, allocations: 291.8 kB / 484.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.09512, 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.009471/0.1046, allocations: 4.361 MB / 489.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.383e-05/0.1047, allocations: 51.73 kB / 489.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.1047, allocations: 0 / 489.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.1048, allocations: 27.81 kB / 489.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.1048, allocations: 15.98 kB / 489.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1048, allocations: 0 / 489.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.1164, allocations: 7.31 MB / 496.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.1164, allocations: 3.938 kB / 496.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.1165, allocations: 15.94 kB / 496.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.1217, allocations: 2.864 MB / 499.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1217, allocations: 0 / 499.6 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1217, allocations: 3.938 kB / 499.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1217, allocations: 3.984 kB / 499.6 MB, free: 6.82 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.001024/0.1228, allocations: 0.554 MB / 0.4884 GB, free: 6.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1228, allocations: 15.98 kB / 0.4885 GB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.1228, allocations: 38.44 kB / 0.4885 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.1229, allocations: 7.953 kB / 0.4885 GB, free: 6.164 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.123, allocations: 109.2 kB / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.123, allocations: 0 / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.123, allocations: 0 / 0.4886 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1231, allocations: 45.69 kB / 0.4886 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1231, allocations: 0 / 0.4886 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1231, allocations: 3.938 kB / 0.4886 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1231, allocations: 0 / 0.4886 GB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.1231, allocations: 12 kB / 0.4887 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1233, allocations: 144.7 kB / 0.4888 GB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.597e-05/0.1233, allocations: 30.56 kB / 0.4888 GB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.1234, allocations: 12.89 kB / 0.4888 GB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01554/0.1389, allocations: 3.019 MB / 0.4918 GB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1389, allocations: 38.48 kB / 0.4918 GB, free: 2.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.139, allocations: 0 / 0.4918 GB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002081/0.1392, allocations: 85.59 kB / 0.4919 GB, free: 2.566 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1392, allocations: 51.41 kB / 0.492 GB, free: 2.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.1393, allocations: 93.86 kB / 0.492 GB, free: 2.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.1393, allocations: 25.7 kB / 0.4921 GB, free: 2.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1393, allocations: 84.3 kB / 0.4922 GB, free: 2.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.1394, allocations: 31.73 kB / 0.4922 GB, free: 2.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1394, allocations: 13.72 kB / 0.4922 GB, free: 2.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1395, allocations: 318.8 kB / 0.4925 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.495e-05/0.1396, allocations: 15.98 kB / 0.4925 GB, free: 1.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.1396, allocations: 8 kB / 0.4925 GB, free: 1.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.1396, allocations: 36.84 kB / 0.4926 GB, free: 1.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1396, allocations: 0 / 0.4926 GB, free: 1.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.696e-05/0.1397, allocations: 69.56 kB / 0.4926 GB, free: 1.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1397, allocations: 8.062 kB / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.1397, allocations: 0 / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1398, allocations: 0 / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1398, allocations: 0 / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.1398, allocations: 0 / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.1398, allocations: 0 / 0.4926 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1398, allocations: 4 kB / 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 7.951e-05/0.1399, allocations: 109.8 kB / 0.4927 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1399, allocations: 7.891 kB / 0.4927 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.14, allocations: 182.9 kB / 0.4929 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/0.1401, allocations: 176.3 kB / 0.4931 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.279e-05/0.1402, allocations: 180.3 kB / 0.4933 GB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.01e-05/0.1403, allocations: 180.2 kB / 0.4934 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1405, allocations: 380.3 kB / 0.4938 GB, free: 472 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.292e-05/0.1406, allocations: 108.9 kB / 0.4939 GB, free: 356 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.1406, allocations: 108.9 kB / 0.494 GB, free: 240 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-05/0.1407, allocations: 180.3 kB / 0.4942 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/0.1408, allocations: 180.2 kB / 0.4943 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.114e-05/0.1409, allocations: 176.3 kB / 0.4945 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.839e-05/0.141, allocations: 192.2 kB / 0.4947 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1411, allocations: 311.8 kB / 0.495 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1412, allocations: 108.9 kB / 0.4951 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.1413, allocations: 184.2 kB / 0.4953 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.1414, allocations: 104.9 kB / 0.4954 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.1415, allocations: 180.3 kB / 0.4955 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.1415, allocations: 105 kB / 0.4956 GB, free: 14.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.16e-05/0.1416, allocations: 107.2 kB / 0.4957 GB, free: 14.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1416, allocations: 3.938 kB / 0.4958 GB, free: 14.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001416/0.143, allocations: 0.6113 MB / 0.4964 GB, free: 13.74 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.002674/0.1457, allocations: 1.682 MB / 0.498 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.165e-05/0.1457, allocations: 24.2 kB / 0.498 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1457, allocations: 0 / 0.498 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1457, allocations: 0 / 0.498 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.1463, allocations: 485.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.001591/0.1479, allocations: 1.643 MB / 0.5001 GB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.1482, allocations: 0.6768 MB / 0.5007 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.1482, allocations: 0 / 0.5007 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.1482, allocations: 15.44 kB / 0.5008 GB, free: 9.082 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1482, allocations: 0 / 0.5008 GB, free: 9.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/0.2018, allocations: 21.04 MB / 0.5213 GB, free: 4.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.8, allocations: 3.953 kB / 0.5213 GB, free: 4.035 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 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.502278101164848] Failed to read output from testmodel.py, exit status != 0: 11.918728095013648 12.101591764 11.97739733 Calling exit ...