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.001213/0.001213, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001284/0.001284, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.325/1.325, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.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.04898/0.04898, allocations: 9.141 MB / 291.5 MB, free: 7.176 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.002072/0.002072, allocations: 76.41 kB / 406.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2504, allocations: 50.7 MB / 457.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01835/0.2687, allocations: 16.98 MB / 474.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006201/0.2749, allocations: 5.803 MB / 480 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.275, allocations: 0 / 480 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007224/0.2757, allocations: 302.5 kB / 480.3 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.851e-05/0.2757, allocations: 27.12 kB / 480.4 MB, free: 332 kB / 334.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.01016/0.2859, allocations: 4.303 MB / 484.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.859e-05/0.286, allocations: 51.73 kB / 484.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.286, allocations: 0 / 484.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.2861, allocations: 35.8 kB / 484.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.905e-05/0.2862, allocations: 11.98 kB / 484.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.2862, allocations: 3.938 kB / 484.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.2974, allocations: 6.994 MB / 491.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.2974, allocations: 3.984 kB / 491.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.2974, allocations: 15.94 kB / 491.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.303, allocations: 2.853 MB / 494.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.303, allocations: 0 / 494.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.303, allocations: 4 kB / 494.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.303, allocations: 0 / 494.6 MB, free: 2.316 MB / 350.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.00126/0.3043, allocations: 0.6292 MB / 495.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3043, allocations: 12.03 kB / 495.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.788e-05/0.3043, allocations: 3.938 kB / 495.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3044, allocations: 38.5 kB / 495.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.3044, allocations: 7.953 kB / 495.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3045, allocations: 163.1 kB / 495.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3046, allocations: 0 / 495.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.3046, allocations: 0 / 495.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3047, allocations: 45.64 kB / 495.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3047, allocations: 3.938 kB / 495.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.3047, allocations: 0 / 495.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3047, allocations: 0 / 495.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.866e-05/0.3047, allocations: 19.98 kB / 495.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.3049, allocations: 161.6 kB / 495.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.303e-05/0.305, allocations: 22.58 kB / 495.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.653e-05/0.305, allocations: 20.89 kB / 495.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/0.3231, allocations: 9.956 MB / 0.4939 GB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.3231, allocations: 34.56 kB / 0.4939 GB, free: 5.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3231, allocations: 0 / 0.4939 GB, free: 5.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002655/0.3234, allocations: 77.62 kB / 0.494 GB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3234, allocations: 51.41 kB / 0.494 GB, free: 5.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3235, allocations: 93.86 kB / 0.4941 GB, free: 5.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3235, allocations: 25.7 kB / 0.4941 GB, free: 5.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.3236, allocations: 84.14 kB / 0.4942 GB, free: 4.949 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3236, allocations: 31.67 kB / 0.4942 GB, free: 4.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.3236, allocations: 17.72 kB / 0.4943 GB, free: 4.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3238, allocations: 311 kB / 0.4946 GB, free: 4.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.3238, allocations: 15.98 kB / 0.4946 GB, free: 4.566 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.3238, allocations: 12 kB / 0.4946 GB, free: 4.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.3238, allocations: 36.84 kB / 0.4946 GB, free: 4.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3239, allocations: 0 / 0.4946 GB, free: 4.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.007e-05/0.3239, allocations: 65.55 kB / 0.4947 GB, free: 4.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3239, allocations: 8 kB / 0.4947 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.324, allocations: 0 / 0.4947 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.324, allocations: 0 / 0.4947 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-07/0.324, allocations: 0 / 0.4947 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.324, allocations: 384 / 0.4947 GB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.324, allocations: 4 kB / 0.4947 GB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.324, allocations: 4 kB / 0.4947 GB, free: 4.43 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.315e-05/0.3241, allocations: 109.8 kB / 0.4948 GB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.3241, allocations: 7.891 kB / 0.4948 GB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.3243, allocations: 178.8 kB / 0.495 GB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-05/0.3243, allocations: 180.3 kB / 0.4952 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-05/0.3244, allocations: 180.3 kB / 0.4953 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.437e-05/0.3245, allocations: 184.2 kB / 0.4955 GB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.3248, allocations: 413.1 kB / 0.4959 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/0.3248, allocations: 108.9 kB / 0.496 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.959e-05/0.3249, allocations: 105 kB / 0.4961 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-05/0.3249, allocations: 176.3 kB / 0.4963 GB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.325, allocations: 188.2 kB / 0.4964 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.879e-05/0.3251, allocations: 180.2 kB / 0.4966 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.104e-05/0.3252, allocations: 180.2 kB / 0.4968 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.3253, allocations: 303.8 kB / 0.4971 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.3254, allocations: 201.9 kB / 0.4973 GB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3255, allocations: 176.3 kB / 0.4974 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.3256, allocations: 108.9 kB / 0.4975 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.971e-05/0.3257, allocations: 184.3 kB / 0.4977 GB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.3257, allocations: 105 kB / 0.4978 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.3258, allocations: 103.2 kB / 0.4979 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3258, allocations: 4 kB / 0.4979 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00181/0.3276, allocations: 0.6075 MB / 0.4985 GB, free: 284 kB / 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.002894/0.3305, allocations: 1.674 MB / 0.5002 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.3306, allocations: 23.92 kB / 0.5002 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3306, allocations: 0 / 0.5002 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3306, allocations: 0 / 0.5002 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.3312, allocations: 491.9 kB / 0.5006 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.3328, allocations: 1.642 MB / 0.5022 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3331, allocations: 0.6808 MB / 0.5029 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.3331, allocations: 0 / 0.5029 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.3331, allocations: 11.44 kB / 0.5029 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3331, allocations: 0 / 0.5029 GB, free: 11.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04573/0.3789, allocations: 20.98 MB / 0.5234 GB, free: 6.625 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/8.911, allocations: 4.062 kB / 0.5234 GB, free: 6.621 MB / 398.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 & /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 os._exit(0), Time elapsed: 11.160750596027356] Failed to read output from testmodel.py, exit status != 0: 9.04326161800418 9.056799055 8.750997957 Calling exit ...