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.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.001666/0.001666, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001834/0.001834, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.444/1.444, allocations: 207.6 MB / 231.4 MB, free: 3.176 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.05199/0.05199, allocations: 9.155 MB / 292.6 MB, free: 6.062 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_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_pd_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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.002186/0.002186, allocations: 67.84 kB / 409.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.226, allocations: 50.72 MB / 459.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01874/0.2448, allocations: 17 MB / 476.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006432/0.2512, allocations: 5.817 MB / 482.6 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.2512, allocations: 0 / 482.6 MB, free: 388 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006667/0.2519, allocations: 291.8 kB / 482.9 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.505e-05/0.2519, allocations: 31.77 kB / 483 MB, free: 64 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.009796/0.2617, allocations: 4.298 MB / 487.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.2618, allocations: 47.73 kB / 487.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.2619, allocations: 4 kB / 487.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.2619, allocations: 35.8 kB / 487.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.214e-05/0.262, allocations: 4 kB / 487.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-06/0.262, allocations: 0 / 487.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.2729, allocations: 7.01 MB / 494.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.2729, allocations: 0 / 494.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.273, allocations: 15.94 kB / 494.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005058/0.278, allocations: 2.845 MB / 497.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.278, allocations: 4 kB / 497.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.278, allocations: 0 / 497.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.278, allocations: 0 / 497.2 MB, free: 1.773 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.00104/0.2791, allocations: 0.637 MB / 497.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2791, allocations: 8.031 kB / 497.9 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.2791, allocations: 7.891 kB / 497.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.2793, allocations: 167 kB / 498 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.2793, allocations: 0 / 498 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.2793, allocations: 0 / 498 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.2794, allocations: 45.69 kB / 498.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2794, allocations: 4 kB / 498.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2794, allocations: 3.938 kB / 498.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2794, allocations: 0 / 498.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.2794, allocations: 19.98 kB / 498.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.2796, allocations: 153.7 kB / 498.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.2797, allocations: 34.52 kB / 498.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.2797, allocations: 16.88 kB / 498.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/0.2994, allocations: 9.948 MB / 0.4964 GB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.2994, allocations: 38.5 kB / 0.4964 GB, free: 4.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.2994, allocations: 0 / 0.4964 GB, free: 4.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001953/0.2996, allocations: 81.61 kB / 0.4965 GB, free: 4.727 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2997, allocations: 51.41 kB / 0.4965 GB, free: 4.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/0.2998, allocations: 97.84 kB / 0.4966 GB, free: 4.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2998, allocations: 29.7 kB / 0.4966 GB, free: 4.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.2998, allocations: 80.14 kB / 0.4967 GB, free: 4.441 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.2999, allocations: 23.75 kB / 0.4967 GB, free: 4.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.2999, allocations: 21.7 kB / 0.4968 GB, free: 4.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3, allocations: 318.9 kB / 0.4971 GB, free: 4.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.3001, allocations: 8 kB / 0.4971 GB, free: 4.062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.3001, allocations: 15.94 kB / 0.4971 GB, free: 4.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.3001, allocations: 32.84 kB / 0.4971 GB, free: 4.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3001, allocations: 4 kB / 0.4971 GB, free: 4.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.458e-05/0.3002, allocations: 61.62 kB / 0.4972 GB, free: 3.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3002, allocations: 7.938 kB / 0.4972 GB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3002, allocations: 4 kB / 0.4972 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3002, allocations: 0 / 0.4972 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3002, allocations: 0 / 0.4972 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3003, allocations: 4.062 kB / 0.4972 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/0.3003, allocations: 3.984 kB / 0.4972 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.3003, allocations: 0 / 0.4972 GB, free: 3.922 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.367e-05/0.3004, allocations: 109.8 kB / 0.4973 GB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.3004, allocations: 7.891 kB / 0.4973 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.3005, allocations: 166.9 kB / 0.4975 GB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.331e-05/0.3006, allocations: 184.2 kB / 0.4976 GB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.365e-05/0.3007, allocations: 180.3 kB / 0.4978 GB, free: 3.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.477e-05/0.3008, allocations: 184.2 kB / 0.498 GB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.3011, allocations: 405.2 kB / 0.4984 GB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.818e-05/0.3011, allocations: 113 kB / 0.4985 GB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3012, allocations: 104.9 kB / 0.4986 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.581e-05/0.3012, allocations: 188.2 kB / 0.4988 GB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.3013, allocations: 180.2 kB / 0.4989 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-05/0.3014, allocations: 180.3 kB / 0.4991 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.698e-05/0.3015, allocations: 180.2 kB / 0.4993 GB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.3016, allocations: 311.8 kB / 0.4996 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.264e-05/0.3017, allocations: 186 kB / 0.4998 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.401e-05/0.3018, allocations: 180.3 kB / 0.4999 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.879e-05/0.3019, allocations: 105 kB / 0.5 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.302, allocations: 188.2 kB / 0.5002 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.3021, allocations: 105 kB / 0.5003 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.3021, allocations: 103.2 kB / 0.5004 GB, free: 404 kB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3021, allocations: 7.938 kB / 0.5004 GB, free: 396 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.001466/0.3036, allocations: 0.6075 MB / 0.501 GB, free: 15.78 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.002398/0.306, allocations: 1.051 MB / 0.502 GB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.502e-05/0.3061, allocations: 15.98 kB / 0.502 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3061, allocations: 0 / 0.502 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3061, allocations: 0 / 0.502 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.3067, allocations: 495.6 kB / 0.5025 GB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.307, allocations: 211 kB / 0.5027 GB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.3073, allocations: 0.6768 MB / 0.5034 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.3073, allocations: 4 kB / 0.5034 GB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.478e-05/0.3073, allocations: 11.44 kB / 0.5034 GB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3073, allocations: 0 / 0.5034 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.02933/0.3366, allocations: 19.47 MB / 0.5224 GB, free: 9.766 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.177317054010928]