Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 103.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.445/1.445, allocations: 207.6 MB / 229.8 MB, free: 4.262 MB / 174.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.05193/0.05193, allocations: 9.147 MB / 290.8 MB, free: 7.32 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 405.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2335, allocations: 50.72 MB / 456.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01848/0.2519, allocations: 16.96 MB / 473.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.254, allocations: 1.85 MB / 475.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.254, allocations: 0 / 475.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.2547, allocations: 302.8 kB / 475.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.004e-05/0.2547, allocations: 27.5 kB / 475.7 MB, free: 3.707 MB / 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.007269/0.262, allocations: 2.908 MB / 478.6 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.2621, allocations: 63.59 kB / 478.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.835e-05/0.2621, allocations: 4 kB / 478.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.2622, allocations: 27.88 kB / 478.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.879e-05/0.2623, allocations: 15.92 kB / 478.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.2623, allocations: 0 / 478.7 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007693/0.27, allocations: 5.061 MB / 483.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.27, allocations: 3.984 kB / 483.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.27, allocations: 15.92 kB / 483.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.2734, allocations: 1.995 MB / 485.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2734, allocations: 0 / 485.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2734, allocations: 0 / 485.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.2735, allocations: 0 / 485.8 MB, free: 10.64 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.0008306/0.2743, allocations: 0.517 MB / 486.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2743, allocations: 8.031 kB / 486.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.2744, allocations: 34.55 kB / 486.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.2744, allocations: 3.953 kB / 486.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.2745, allocations: 171 kB / 486.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2745, allocations: 0 / 486.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.2745, allocations: 0 / 486.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.2746, allocations: 41.64 kB / 486.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2747, allocations: 0 / 486.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2747, allocations: 3.984 kB / 486.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2747, allocations: 4 kB / 486.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.2747, allocations: 12 kB / 486.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.2749, allocations: 157.6 kB / 486.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.2749, allocations: 34.58 kB / 486.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.275, allocations: 16.88 kB / 486.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03296/0.3079, allocations: 19.37 MB / 0.4943 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.308, allocations: 34.5 kB / 0.4943 GB, free: 2.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.308, allocations: 0 / 0.4943 GB, free: 2.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002061/0.3082, allocations: 69.92 kB / 0.4944 GB, free: 2.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.3082, allocations: 51.41 kB / 0.4944 GB, free: 2.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.3083, allocations: 97.84 kB / 0.4945 GB, free: 2.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3083, allocations: 25.7 kB / 0.4945 GB, free: 2.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.3083, allocations: 80.3 kB / 0.4946 GB, free: 2.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3084, allocations: 31.78 kB / 0.4946 GB, free: 2.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.3084, allocations: 17.7 kB / 0.4946 GB, free: 2.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3085, allocations: 318.8 kB / 0.495 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.3086, allocations: 12 kB / 0.495 GB, free: 1.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.158e-05/0.3086, allocations: 15.97 kB / 0.495 GB, free: 1.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.3086, allocations: 36.8 kB / 0.495 GB, free: 1.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3086, allocations: 0 / 0.495 GB, free: 1.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.315e-05/0.3087, allocations: 65.52 kB / 0.4951 GB, free: 1.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3087, allocations: 12.06 kB / 0.4951 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3087, allocations: 0 / 0.4951 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3087, allocations: 0 / 0.4951 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.3088, allocations: 0 / 0.4951 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3088, allocations: 3.984 kB / 0.4951 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.792e-05/0.3088, allocations: 0 / 0.4951 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3088, allocations: 4 kB / 0.4951 GB, free: 1.785 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.38e-05/0.3089, allocations: 113.8 kB / 0.4952 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.3089, allocations: 3.953 kB / 0.4952 GB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.309, allocations: 174.8 kB / 0.4954 GB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-05/0.3091, allocations: 180.3 kB / 0.4955 GB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.047e-05/0.3092, allocations: 184.2 kB / 0.4957 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.771e-05/0.3093, allocations: 180.3 kB / 0.4959 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.3096, allocations: 421 kB / 0.4963 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.3096, allocations: 105 kB / 0.4964 GB, free: 336 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.3096, allocations: 109 kB / 0.4965 GB, free: 220 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.5e-05/0.3097, allocations: 180.2 kB / 0.4967 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/0.3098, allocations: 184.3 kB / 0.4968 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-05/0.3099, allocations: 180.2 kB / 0.497 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.662e-05/0.31, allocations: 176.3 kB / 0.4972 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3101, allocations: 315.7 kB / 0.4975 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.3102, allocations: 186 kB / 0.4977 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.3103, allocations: 180.2 kB / 0.4978 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.3104, allocations: 101 kB / 0.4979 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.3105, allocations: 188.2 kB / 0.4981 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3106, allocations: 104.9 kB / 0.4982 GB, free: 14.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.3106, allocations: 99.27 kB / 0.4983 GB, free: 14.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3106, allocations: 288 / 0.4983 GB, free: 14.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001044/0.3117, allocations: 394.8 kB / 0.4987 GB, free: 13.87 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.001958/0.3136, allocations: 1.374 MB / 0.5 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.3137, allocations: 15.98 kB / 0.5 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3137, allocations: 0 / 0.5 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.3137, allocations: 8.328 kB / 0.5 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.3143, allocations: 475.7 kB / 0.5005 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3157, allocations: 1.553 MB / 0.502 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.3161, allocations: 0.6768 MB / 0.5027 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.78e-05/0.3161, allocations: 0 / 0.5027 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.251e-05/0.3161, allocations: 15.38 kB / 0.5027 GB, free: 9.621 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3161, allocations: 4 kB / 0.5027 GB, free: 9.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04298/0.3591, allocations: 15.47 MB / 0.5178 GB, free: 10.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.835, allocations: 3.938 kB / 0.5178 GB, free: 10.13 MB / 398.1 MB " [Timeout remaining time 651] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.141686304006726] Failed to read output from testmodel.py, exit status != 0: 8.914263084065169 8.940778393 8.662421402 Calling exit ...