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.001247/0.001247, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001364/0.001364, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.357/1.357, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.04975/0.04975, allocations: 9.154 MB / 295.3 MB, free: 12.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="cs",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.00208/0.00208, allocations: 71.02 kB / 411.8 MB, free: 46.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07229/0.07437, allocations: 50.76 MB / 462.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01992/0.09428, allocations: 15.34 MB / 477.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006126/0.1004, allocations: 5.145 MB / 483.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.1005, allocations: 3.938 kB / 483.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.1012, allocations: 227.9 kB / 483.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.1012, allocations: 35.83 kB / 483.3 MB, free: 7.715 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.01048/0.1117, allocations: 4.275 MB / 487.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.1118, allocations: 59.67 kB / 487.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1119, allocations: 0 / 487.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.1119, allocations: 27.86 kB / 487.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.112, allocations: 11.94 kB / 487.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.112, allocations: 0 / 487.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008731/0.1207, allocations: 4.877 MB / 492.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1207, allocations: 0 / 492.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1208, allocations: 15.92 kB / 492.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005095/0.1259, allocations: 2.303 MB / 494.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1259, allocations: 0 / 494.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1259, allocations: 0 / 494.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1259, allocations: 0 / 494.9 MB, free: 12.13 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.001142/0.127, allocations: 0.5501 MB / 495.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1271, allocations: 15.98 kB / 495.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.636e-05/0.1271, allocations: 7.938 kB / 495.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.1271, allocations: 30.56 kB / 495.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1272, allocations: 7.953 kB / 495.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1273, allocations: 113.2 kB / 495.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.1273, allocations: 0 / 495.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.1273, allocations: 4 kB / 495.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1274, allocations: 37.7 kB / 495.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1274, allocations: 11.88 kB / 495.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-06/0.1274, allocations: 0 / 495.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1274, allocations: 0 / 495.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.1274, allocations: 11.98 kB / 495.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.1276, allocations: 136.8 kB / 495.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.957e-05/0.1277, allocations: 30.52 kB / 495.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.1277, allocations: 16.89 kB / 495.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/0.1431, allocations: 3.027 MB / 498.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.1432, allocations: 34.5 kB / 498.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.1432, allocations: 0 / 498.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002291/0.1434, allocations: 73.92 kB / 499 MB, free: 7.883 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1435, allocations: 63.38 kB / 499.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.1435, allocations: 89.86 kB / 499.1 MB, free: 7.711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1436, allocations: 25.7 kB / 499.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.1436, allocations: 92.12 kB / 499.3 MB, free: 7.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.1437, allocations: 23.73 kB / 499.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1437, allocations: 13.72 kB / 499.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1438, allocations: 318.8 kB / 499.6 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.1439, allocations: 12 kB / 499.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.1439, allocations: 19.92 kB / 499.6 MB, free: 7.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.1439, allocations: 40.94 kB / 499.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1439, allocations: 4 kB / 499.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.405e-05/0.144, allocations: 61.62 kB / 499.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.144, allocations: 4 kB / 499.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.144, allocations: 0 / 499.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1441, allocations: 4 kB / 499.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1441, allocations: 0 / 499.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1441, allocations: 0 / 499.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1441, allocations: 0 / 499.7 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.1441, allocations: 0 / 499.7 MB, free: 7.07 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 9.64e-05/0.1442, allocations: 113.8 kB / 499.9 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.1442, allocations: 15.91 kB / 499.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1444, allocations: 170.9 kB / 0.4883 GB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.1444, allocations: 180.2 kB / 0.4885 GB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.438e-05/0.1445, allocations: 180.2 kB / 0.4887 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.189e-05/0.1446, allocations: 184.2 kB / 0.4888 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.1449, allocations: 380.2 kB / 0.4892 GB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.197e-05/0.1449, allocations: 104.9 kB / 0.4893 GB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.145, allocations: 109 kB / 0.4894 GB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.388e-05/0.1451, allocations: 180.2 kB / 0.4896 GB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.1452, allocations: 180.3 kB / 0.4897 GB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.729e-05/0.1452, allocations: 188.2 kB / 0.4899 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.597e-05/0.1453, allocations: 184.2 kB / 0.4901 GB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.1455, allocations: 315.7 kB / 0.4904 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1456, allocations: 104.9 kB / 0.4905 GB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.1457, allocations: 188.2 kB / 0.4907 GB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1458, allocations: 101 kB / 0.4908 GB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.1458, allocations: 180.3 kB / 0.491 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.056e-05/0.1459, allocations: 108.9 kB / 0.4911 GB, free: 3.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.425e-05/0.146, allocations: 103.2 kB / 0.4912 GB, free: 3.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.146, allocations: 0 / 0.4912 GB, free: 3.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001853/0.1478, allocations: 0.6113 MB / 0.4918 GB, free: 3.039 MB / 366.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.003115/0.1509, allocations: 1.676 MB / 0.4934 GB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.151, allocations: 23.98 kB / 0.4934 GB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.151, allocations: 4.062 kB / 0.4934 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.151, allocations: 0 / 0.4934 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.1516, allocations: 486.1 kB / 0.4939 GB, free: 0.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1535, allocations: 1.639 MB / 0.4955 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.966e-05/0.1535, allocations: 67.44 kB / 0.4955 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.161e-05/0.1535, allocations: 0 / 0.4955 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.1536, allocations: 11.44 kB / 0.4956 GB, free: 15.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1536, allocations: 0 / 0.4956 GB, free: 15.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05121/0.2048, allocations: 21.23 MB / 0.5163 GB, free: 9.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.66, allocations: 8.938 kB / 0.5163 GB, free: 9.777 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.29029160598293] Failed to read output from testmodel.py, exit status != 0: 11.824587697978131 11.988171909 11.859504562 Calling exit ...