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.001323/0.001323, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001615/0.001615, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05122/0.05122, allocations: 9.141 MB / 321.6 MB, free: 10.41 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: 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: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 63.91 kB / 447.1 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 54.95 MB / 0.4902 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02021/0.1329, allocations: 17.04 MB / 0.5069 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.1392, allocations: 5.818 MB / 0.5126 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.674e-05/0.1392, allocations: 0 / 0.5126 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.14, allocations: 287.8 kB / 0.5128 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.158e-05/0.14, allocations: 35.83 kB / 0.5129 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2268/0.3669, allocations: 4.353 MB / 0.5171 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.367, allocations: 45.52 kB / 0.5172 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.367, allocations: 7.344 kB / 0.5172 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.897e-05/0.3671, allocations: 31.34 kB / 0.5172 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.3671, allocations: 13.38 kB / 0.5172 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.3671, allocations: 0 / 0.5172 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01173/0.3789, allocations: 7.318 MB / 0.5244 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3789, allocations: 1.203 kB / 0.5244 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.3789, allocations: 13.69 kB / 0.5244 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007656/0.3866, allocations: 2.866 MB / 0.5272 GB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3866, allocations: 0 / 0.5272 GB, free: 9.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3866, allocations: 4 kB / 0.5272 GB, free: 9.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.3866, allocations: 0 / 0.5272 GB, free: 9.535 MB / 382.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.001744/0.3884, allocations: 0.5636 MB / 0.5277 GB, free: 9.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3884, allocations: 9.438 kB / 0.5277 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.3884, allocations: 2.125 kB / 0.5278 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.3885, allocations: 106.8 kB / 0.5279 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3885, allocations: 1.031 kB / 0.5279 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3886, allocations: 0.875 kB / 0.5279 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.3887, allocations: 45.86 kB / 0.5279 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3887, allocations: 0.8438 kB / 0.5279 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3887, allocations: 3.938 kB / 0.5279 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.3887, allocations: 4.688 kB / 0.5279 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.3887, allocations: 14.5 kB / 0.5279 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.3889, allocations: 133.4 kB / 0.528 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.693e-05/0.3889, allocations: 27.11 kB / 0.5281 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.3889, allocations: 16.89 kB / 0.5281 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.4034, allocations: 3.014 MB / 0.531 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.005e-05/0.4034, allocations: 39.44 kB / 0.5311 GB, free: 8.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.4034, allocations: 0 / 0.5311 GB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003543/0.4038, allocations: 85.67 kB / 0.5312 GB, free: 8.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4038, allocations: 51.41 kB / 0.5312 GB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.4039, allocations: 96.44 kB / 0.5313 GB, free: 8.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4039, allocations: 29.02 kB / 0.5313 GB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.404, allocations: 80.64 kB / 0.5314 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.404, allocations: 20.42 kB / 0.5314 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.4041, allocations: 16 kB / 0.5314 GB, free: 8.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4042, allocations: 316 kB / 0.5317 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.4042, allocations: 18.56 kB / 0.5318 GB, free: 7.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.802e-05/0.4042, allocations: 13.19 kB / 0.5318 GB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.4043, allocations: 36.2 kB / 0.5318 GB, free: 7.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4043, allocations: 0.5625 kB / 0.5318 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.697e-05/0.4044, allocations: 67.8 kB / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4044, allocations: 5.688 kB / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4044, allocations: 0 / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4045, allocations: 0 / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.4045, allocations: 4.344 kB / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4045, allocations: 1.641 kB / 0.5319 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.4045, allocations: 5.938 kB / 0.5319 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.4045, allocations: 1.062 kB / 0.5319 GB, free: 7.859 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 6.13e-05/0.4046, allocations: 114.7 kB / 0.532 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.4046, allocations: 9.828 kB / 0.532 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.4047, allocations: 173.8 kB / 0.5322 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/0.4047, allocations: 180.3 kB / 0.5323 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.121e-05/0.4048, allocations: 189.2 kB / 0.5325 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/0.4048, allocations: 180.2 kB / 0.5327 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.405, allocations: 376.7 kB / 0.5331 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.405, allocations: 105.6 kB / 0.5332 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/0.405, allocations: 106.7 kB / 0.5333 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.408e-05/0.405, allocations: 189.6 kB / 0.5334 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.4051, allocations: 181.3 kB / 0.5336 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.863e-05/0.4051, allocations: 184.2 kB / 0.5338 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.832e-05/0.4051, allocations: 180.6 kB / 0.534 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.951e-05/0.4052, allocations: 311.1 kB / 0.5343 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.4052, allocations: 112.2 kB / 0.5344 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.4053, allocations: 181.2 kB / 0.5345 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.4054, allocations: 105 kB / 0.5346 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.4054, allocations: 180.8 kB / 0.5348 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.4054, allocations: 109.2 kB / 0.5349 GB, free: 4.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.4055, allocations: 94.5 kB / 0.535 GB, free: 4.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4055, allocations: 4 kB / 0.535 GB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002955/0.4084, allocations: 0.6137 MB / 0.5356 GB, free: 4.441 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.003275/0.4117, allocations: 1.035 MB / 0.5366 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.4118, allocations: 23.05 kB / 0.5366 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4118, allocations: 0 / 0.5366 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.4118, allocations: 1.094 kB / 0.5366 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.4124, allocations: 493 kB / 0.5371 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.4127, allocations: 206.9 kB / 0.5373 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.413, allocations: 0.6779 MB / 0.538 GB, free: 18.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.413, allocations: 1.781 kB / 0.538 GB, free: 18.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.4131, allocations: 15 kB / 0.538 GB, free: 18.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4131, allocations: 0 / 0.538 GB, free: 18.66 MB / 398.1 MB Notification: Performance of Templates: time 0.02989/0.4429, allocations: 19.49 MB / 0.557 GB, free: 6.527 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.526950364001095] Failed to read output from testmodel.py, exit status != 0: 0.4508515940979123 0.46537637000000004 0.075533194 Calling exit ...