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.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.001204/0.001204, 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.001291/0.001291, 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.385/1.385, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.05012/0.05012, allocations: 9.145 MB / 291.5 MB, free: 7.172 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_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_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.002023/0.002023, allocations: 75.88 kB / 406.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2565, allocations: 50.71 MB / 457.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01898/0.2755, allocations: 16.96 MB / 474.2 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.2775, allocations: 1.862 MB / 476.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.2776, allocations: 0 / 476.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.2782, allocations: 302.8 kB / 476.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.2783, allocations: 31.14 kB / 476.4 MB, free: 3.668 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.007636/0.2859, allocations: 2.906 MB / 479.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.286, allocations: 59.67 kB / 479.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.286, allocations: 7.984 kB / 479.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.158e-05/0.2861, allocations: 23.88 kB / 479.4 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.2862, allocations: 15.92 kB / 479.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.2862, allocations: 0 / 479.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007421/0.2936, allocations: 5.061 MB / 484.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.2936, allocations: 4 kB / 484.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.2936, allocations: 11.94 kB / 484.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.2968, allocations: 1.995 MB / 486.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2968, allocations: 0 / 486.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2968, allocations: 0 / 486.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2968, allocations: 0 / 486.5 MB, free: 10.6 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.0008258/0.2976, allocations: 0.5169 MB / 487 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2977, allocations: 12.03 kB / 487 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/0.2977, allocations: 0 / 487 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.2977, allocations: 34.5 kB / 487.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.2977, allocations: 7.953 kB / 487.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2979, allocations: 175 kB / 487.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2979, allocations: 0 / 487.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.2979, allocations: 0 / 487.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.298, allocations: 37.7 kB / 487.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.298, allocations: 0 / 487.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.298, allocations: 0 / 487.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.298, allocations: 3.984 kB / 487.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.2981, allocations: 12 kB / 487.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.2982, allocations: 173.5 kB / 487.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.2983, allocations: 26.58 kB / 487.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.2983, allocations: 16.88 kB / 487.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03083/0.3291, allocations: 19.37 MB / 0.495 GB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.3292, allocations: 34.56 kB / 0.495 GB, free: 2.629 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.3292, allocations: 0 / 0.495 GB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002214/0.3294, allocations: 69.62 kB / 0.4951 GB, free: 2.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3295, allocations: 51.41 kB / 0.4951 GB, free: 2.492 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3295, allocations: 101.8 kB / 0.4952 GB, free: 2.383 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3296, allocations: 29.86 kB / 0.4953 GB, free: 2.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.3296, allocations: 84.12 kB / 0.4953 GB, free: 2.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.3296, allocations: 19.8 kB / 0.4954 GB, free: 2.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3297, allocations: 17.72 kB / 0.4954 GB, free: 2.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3298, allocations: 318.8 kB / 0.4957 GB, free: 1.898 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.3298, allocations: 8 kB / 0.4957 GB, free: 1.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.3299, allocations: 16 kB / 0.4957 GB, free: 1.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.3299, allocations: 40.78 kB / 0.4957 GB, free: 1.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3299, allocations: 4.031 kB / 0.4958 GB, free: 1.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.771e-05/0.33, allocations: 65.58 kB / 0.4958 GB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.33, allocations: 8 kB / 0.4958 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.33, allocations: 3.984 kB / 0.4958 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.33, allocations: 0 / 0.4958 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.33, allocations: 0 / 0.4958 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.33, allocations: 0 / 0.4958 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.3301, allocations: 0 / 0.4958 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3301, allocations: 7.938 kB / 0.4958 GB, free: 1.738 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.641e-05/0.3302, allocations: 109.8 kB / 0.4959 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.3302, allocations: 7.984 kB / 0.4959 GB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.3303, allocations: 170.8 kB / 0.4961 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/0.3304, allocations: 180.2 kB / 0.4963 GB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.611e-05/0.3305, allocations: 188.3 kB / 0.4965 GB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/0.3306, allocations: 184.2 kB / 0.4966 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3308, allocations: 417.1 kB / 0.497 GB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/0.3309, allocations: 108.9 kB / 0.4971 GB, free: 284 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3309, allocations: 101 kB / 0.4972 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.804e-05/0.331, allocations: 180.2 kB / 0.4974 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/0.3311, allocations: 184.2 kB / 0.4976 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-05/0.3311, allocations: 176.3 kB / 0.4978 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.575e-05/0.3312, allocations: 184.2 kB / 0.4979 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.3314, allocations: 307.8 kB / 0.4982 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.3315, allocations: 190 kB / 0.4984 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.3316, allocations: 176.3 kB / 0.4986 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3316, allocations: 112.9 kB / 0.4987 GB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3317, allocations: 180.3 kB / 0.4988 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/0.3318, allocations: 105 kB / 0.4989 GB, free: 14.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.3318, allocations: 107.1 kB / 0.4991 GB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3318, allocations: 0 / 0.4991 GB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3329, allocations: 390.8 kB / 0.4994 GB, free: 13.82 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.002001/0.3349, allocations: 1.366 MB / 0.5008 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.335, allocations: 19.94 kB / 0.5008 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.335, allocations: 288 / 0.5008 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.335, allocations: 272 / 0.5008 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005529/0.3356, allocations: 499.9 kB / 0.5013 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.337, allocations: 1.549 MB / 0.5028 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.3373, allocations: 0.6768 MB / 0.5034 GB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.759e-05/0.3373, allocations: 0 / 0.5034 GB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.3373, allocations: 11.44 kB / 0.5034 GB, free: 9.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3373, allocations: 0 / 0.5034 GB, free: 9.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.3739, allocations: 15.5 MB / 0.5186 GB, free: 10.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.432, allocations: 11.94 kB / 0.5186 GB, free: 10.05 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: 10.733512118982617] Failed to read output from testmodel.py, exit status != 0: 8.558953252038918 8.572601707 8.272986898 Calling exit ...