Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.001632/0.001632, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001585/0.001585, allocations: 186 kB / 20.78 MB, free: 1.547 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 / 231.4 MB, free: 3.148 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.05148/0.05148, allocations: 9.158 MB / 292.6 MB, free: 6.066 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: translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [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.002227/0.002227, allocations: 63.91 kB / 409.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2337, allocations: 50.72 MB / 459.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01962/0.2534, allocations: 16.94 MB / 476.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.2642, allocations: 9.758 MB / 486.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.2642, allocations: 0 / 486.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008241/0.2651, allocations: 287.2 kB / 486.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.714e-05/0.2651, allocations: 31.84 kB / 486.8 MB, free: 12.18 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01403/0.2791, allocations: 5.331 MB / 492.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2792, allocations: 51.67 kB / 492.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.2793, allocations: 7.938 kB / 492.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.2794, allocations: 23.86 kB / 492.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.2794, allocations: 11.94 kB / 492.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.2794, allocations: 0 / 492.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0138/0.2932, allocations: 8 MB / 0.4885 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.2932, allocations: 4 kB / 0.4885 GB, free: 14.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.2933, allocations: 11.94 kB / 0.4886 GB, free: 14.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009033/0.3023, allocations: 3.304 MB / 0.4918 GB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3023, allocations: 4 kB / 0.4918 GB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3023, allocations: 3.984 kB / 0.4918 GB, free: 11.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3023, allocations: 7.938 kB / 0.4918 GB, free: 11.38 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.00165/0.304, allocations: 0.7068 MB / 0.4925 GB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.304, allocations: 8.031 kB / 0.4925 GB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.3041, allocations: 3.953 kB / 0.4925 GB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3043, allocations: 171 kB / 0.4927 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3043, allocations: 0 / 0.4927 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3043, allocations: 0 / 0.4927 GB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.3045, allocations: 45.67 kB / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3045, allocations: 0 / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3045, allocations: 7.938 kB / 0.4927 GB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3045, allocations: 4 kB / 0.4927 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.3045, allocations: 12 kB / 0.4927 GB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.3047, allocations: 157.6 kB / 0.4929 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.3049, allocations: 34.56 kB / 0.4929 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.3049, allocations: 12.89 kB / 0.4929 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02827/0.3331, allocations: 14 MB / 0.5066 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3332, allocations: 34.5 kB / 0.5066 GB, free: 9.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.073e-06/0.3332, allocations: 0 / 0.5066 GB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002089/0.3334, allocations: 85.61 kB / 0.5067 GB, free: 9.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3334, allocations: 51.41 kB / 0.5068 GB, free: 9.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.3335, allocations: 93.86 kB / 0.5069 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3335, allocations: 25.7 kB / 0.5069 GB, free: 9.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3336, allocations: 80.3 kB / 0.507 GB, free: 9.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.3336, allocations: 31.78 kB / 0.507 GB, free: 9.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3336, allocations: 9.719 kB / 0.507 GB, free: 9.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3338, allocations: 322.8 kB / 0.5073 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.3338, allocations: 11.98 kB / 0.5073 GB, free: 8.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.3338, allocations: 15.94 kB / 0.5073 GB, free: 8.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.3339, allocations: 36.78 kB / 0.5074 GB, free: 8.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3339, allocations: 0 / 0.5074 GB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.022e-05/0.334, allocations: 61.67 kB / 0.5074 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.334, allocations: 8.062 kB / 0.5074 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.334, allocations: 4 kB / 0.5074 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.334, allocations: 0 / 0.5074 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.334, allocations: 0 / 0.5074 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.334, allocations: 0 / 0.5074 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.334, allocations: 7.891 kB / 0.5074 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.334, allocations: 0 / 0.5074 GB, free: 8.75 MB / 382.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.452e-05/0.3341, allocations: 113.8 kB / 0.5076 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.3341, allocations: 3.938 kB / 0.5076 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001763/0.3343, allocations: 178.8 kB / 0.5077 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.846e-05/0.3344, allocations: 176.3 kB / 0.5079 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.337e-05/0.3345, allocations: 180.2 kB / 0.5081 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/0.3346, allocations: 184.2 kB / 0.5082 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3348, allocations: 421.2 kB / 0.5086 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.708e-05/0.3349, allocations: 108.9 kB / 0.5087 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.3349, allocations: 101 kB / 0.5088 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.114e-05/0.335, allocations: 180.2 kB / 0.509 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-05/0.3351, allocations: 184.3 kB / 0.5092 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.242e-05/0.3352, allocations: 184.2 kB / 0.5094 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.072e-05/0.3353, allocations: 176.3 kB / 0.5095 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.3354, allocations: 311.7 kB / 0.5098 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.3355, allocations: 182.1 kB / 0.51 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.3356, allocations: 188.1 kB / 0.5102 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.3357, allocations: 101 kB / 0.5103 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.3358, allocations: 184.3 kB / 0.5105 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.3358, allocations: 108.9 kB / 0.5106 GB, free: 5.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.263e-05/0.3359, allocations: 99.27 kB / 0.5107 GB, free: 5.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 0.5107 GB, free: 5.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001824/0.3377, allocations: 0.7554 MB / 0.5114 GB, free: 4.453 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.003016/0.3408, allocations: 1.273 MB / 0.5126 GB, free: 3.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.3408, allocations: 15.94 kB / 0.5127 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3408, allocations: 288 / 0.5127 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.3408, allocations: 0 / 0.5127 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005961/0.3414, allocations: 490.9 kB / 0.5131 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.3418, allocations: 210.8 kB / 0.5133 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3421, allocations: 0.6844 MB / 0.514 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.3421, allocations: 0 / 0.514 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.3421, allocations: 11.44 kB / 0.514 GB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3421, allocations: 0 / 0.514 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Templates: time 0.03295/0.3751, allocations: 21.78 MB / 0.5353 GB, free: 11.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324543314054608]