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.001211/0.001211, allocations: 105.8 kB / 19.73 MB, free: 2.223 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.001352/0.001352, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.283/1.283, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 179] 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.04862/0.04862, allocations: 9.16 MB / 295.2 MB, free: 12.68 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.002007/0.002007, allocations: 70.67 kB / 411.8 MB, free: 46.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06588/0.06789, allocations: 50.76 MB / 462.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01921/0.0871, allocations: 17.01 MB / 479.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.09299, allocations: 5.806 MB / 485.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.09301, allocations: 0 / 485.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006189/0.09363, allocations: 311.7 kB / 485.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.09367, allocations: 19.91 kB / 485.7 MB, free: 5.496 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.008789/0.1025, allocations: 4.355 MB / 490.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.1025, allocations: 51.73 kB / 490.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.1026, allocations: 3.984 kB / 490.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.1027, allocations: 39.73 kB / 490.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.1027, allocations: 8 kB / 490.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.1027, allocations: 0 / 490.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/0.1133, allocations: 7.322 MB / 497.5 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.1133, allocations: 3.984 kB / 497.5 MB, free: 9.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.1133, allocations: 11.94 kB / 497.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005131/0.1184, allocations: 2.864 MB / 0.4887 GB, free: 6.809 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1184, allocations: 4 kB / 0.4887 GB, free: 6.805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1185, allocations: 0 / 0.4887 GB, free: 6.805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1185, allocations: 0 / 0.4887 GB, free: 6.805 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.0009942/0.1195, allocations: 0.5501 MB / 0.4892 GB, free: 6.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1195, allocations: 15.98 kB / 0.4892 GB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.814e-05/0.1195, allocations: 7.938 kB / 0.4892 GB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1195, allocations: 30.56 kB / 0.4893 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.1196, allocations: 3.953 kB / 0.4893 GB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1197, allocations: 117.2 kB / 0.4894 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.1197, allocations: 0 / 0.4894 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-06/0.1197, allocations: 0 / 0.4894 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.551e-05/0.1198, allocations: 41.64 kB / 0.4894 GB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1198, allocations: 3.938 kB / 0.4894 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.1198, allocations: 0 / 0.4894 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1198, allocations: 0 / 0.4894 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.906e-05/0.1198, allocations: 19.98 kB / 0.4894 GB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.12, allocations: 132.8 kB / 0.4896 GB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.12, allocations: 26.58 kB / 0.4896 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.1201, allocations: 16.89 kB / 0.4896 GB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/0.1341, allocations: 3.027 MB / 0.4926 GB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1341, allocations: 30.56 kB / 0.4926 GB, free: 2.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.1341, allocations: 0 / 0.4926 GB, free: 2.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002478/0.1344, allocations: 73.69 kB / 0.4927 GB, free: 2.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1344, allocations: 51.41 kB / 0.4927 GB, free: 2.508 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.37e-05/0.1345, allocations: 101.9 kB / 0.4928 GB, free: 2.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1345, allocations: 25.7 kB / 0.4928 GB, free: 2.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.1346, allocations: 84.12 kB / 0.4929 GB, free: 2.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.1346, allocations: 31.67 kB / 0.4929 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.1346, allocations: 17.72 kB / 0.493 GB, free: 2.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1348, allocations: 314.8 kB / 0.4933 GB, free: 1.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.1348, allocations: 12 kB / 0.4933 GB, free: 1.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.1348, allocations: 11.94 kB / 0.4933 GB, free: 1.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.1349, allocations: 41 kB / 0.4933 GB, free: 1.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1349, allocations: 4 kB / 0.4933 GB, free: 1.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.926e-05/0.135, allocations: 65.62 kB / 0.4934 GB, free: 1.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.135, allocations: 6.344 kB / 0.4934 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.135, allocations: 0 / 0.4934 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.135, allocations: 0 / 0.4934 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.135, allocations: 3.938 kB / 0.4934 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.135, allocations: 0 / 0.4934 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.135, allocations: 4 kB / 0.4934 GB, free: 1.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.135, allocations: 4 kB / 0.4934 GB, free: 1.754 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.212e-05/0.1351, allocations: 109.9 kB / 0.4935 GB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.1351, allocations: 19.81 kB / 0.4935 GB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.1353, allocations: 163 kB / 0.4937 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.179e-05/0.1354, allocations: 176.3 kB / 0.4939 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.437e-05/0.1354, allocations: 184.2 kB / 0.494 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/0.1355, allocations: 184.2 kB / 0.4942 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1357, allocations: 384.2 kB / 0.4946 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.592e-05/0.1358, allocations: 104.9 kB / 0.4947 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.1358, allocations: 105 kB / 0.4948 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.207e-05/0.1359, allocations: 180.2 kB / 0.4949 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/0.136, allocations: 180.2 kB / 0.4951 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.347e-05/0.1361, allocations: 180.2 kB / 0.4953 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.1361, allocations: 188.3 kB / 0.4955 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1363, allocations: 307.7 kB / 0.4958 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1364, allocations: 108.9 kB / 0.4959 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/0.1365, allocations: 188.2 kB / 0.496 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.1365, allocations: 109 kB / 0.4961 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.1366, allocations: 180.2 kB / 0.4963 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.1367, allocations: 108.9 kB / 0.4964 GB, free: 14.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.1367, allocations: 99.27 kB / 0.4965 GB, free: 14.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1367, allocations: 0 / 0.4965 GB, free: 14.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001714/0.1384, allocations: 0.6113 MB / 0.4971 GB, free: 13.73 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.00279/0.1412, allocations: 1.695 MB / 0.4988 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.1413, allocations: 16 kB / 0.4988 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1413, allocations: 0 / 0.4988 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.1413, allocations: 0 / 0.4988 GB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.1419, allocations: 492 kB / 0.4993 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1437, allocations: 1.635 MB / 0.5009 GB, free: 9.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.144, allocations: 0.6807 MB / 0.5015 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.863e-05/0.144, allocations: 0 / 0.5015 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.144, allocations: 11.44 kB / 0.5015 GB, free: 9.078 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.144, allocations: 7.969 kB / 0.5015 GB, free: 9.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.1913, allocations: 21.06 MB / 0.5221 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.38, allocations: 12 kB / 0.5221 GB, free: 3.992 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: 13.887654284015298] Failed to read output from testmodel.py, exit status != 0: 11.54857255902607 11.702568291 11.581787363 Calling exit ...