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.00174/0.00174, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001628/0.001628, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 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.05367/0.05367, allocations: 9.145 MB / 321.6 MB, free: 10.21 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.002004/0.002004, allocations: 67.91 kB / 447 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1078, allocations: 54.94 MB / 0.4902 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.02203/0.1298, allocations: 15.39 MB / 0.5052 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00705/0.1368, allocations: 5.156 MB / 0.5102 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.1369, allocations: 0 / 0.5102 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007234/0.1376, allocations: 223.9 kB / 0.5105 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.1377, allocations: 35.83 kB / 0.5105 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2171/0.3548, allocations: 4.234 MB / 0.5146 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.3549, allocations: 50.83 kB / 0.5147 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.3549, allocations: 3.297 kB / 0.5147 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.944e-05/0.355, allocations: 30.83 kB / 0.5147 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.3551, allocations: 10.62 kB / 0.5147 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-06/0.3551, allocations: 0 / 0.5147 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007455/0.3625, allocations: 4.676 MB / 0.5193 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.3626, allocations: 2.406 kB / 0.5193 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.3626, allocations: 10.89 kB / 0.5193 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.3688, allocations: 2.299 MB / 0.5215 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3688, allocations: 0.5625 kB / 0.5215 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3688, allocations: 1.156 kB / 0.5215 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3688, allocations: 0 / 0.5215 GB, free: 10.98 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.001492/0.3703, allocations: 0.5574 MB / 0.5221 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3703, allocations: 9.297 kB / 0.5221 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.3703, allocations: 8.047 kB / 0.5221 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.3704, allocations: 109.9 kB / 0.5222 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.3704, allocations: 4.906 kB / 0.5222 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3704, allocations: 2.016 kB / 0.5222 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.991e-05/0.3705, allocations: 37.84 kB / 0.5222 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3705, allocations: 4.781 kB / 0.5222 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3705, allocations: 5.094 kB / 0.5223 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3705, allocations: 1.344 kB / 0.5223 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.3706, allocations: 14.56 kB / 0.5223 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.3707, allocations: 108 kB / 0.5224 GB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.658e-05/0.3707, allocations: 35.73 kB / 0.5224 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.3708, allocations: 17.97 kB / 0.5224 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01544/0.3862, allocations: 3.025 MB / 0.5254 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3862, allocations: 33.38 kB / 0.5254 GB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.3862, allocations: 0 / 0.5254 GB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002279/0.3865, allocations: 86.91 kB / 0.5255 GB, free: 10.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.3865, allocations: 52.66 kB / 0.5255 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.3865, allocations: 96.05 kB / 0.5256 GB, free: 9.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.3865, allocations: 25.7 kB / 0.5257 GB, free: 9.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.3866, allocations: 81.55 kB / 0.5257 GB, free: 9.809 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.3866, allocations: 20.34 kB / 0.5258 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.3866, allocations: 17.62 kB / 0.5258 GB, free: 9.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.3867, allocations: 323.2 kB / 0.5261 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.3867, allocations: 10.44 kB / 0.5261 GB, free: 9.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.3867, allocations: 14.69 kB / 0.5261 GB, free: 9.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.3867, allocations: 36.47 kB / 0.5261 GB, free: 9.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3868, allocations: 0 / 0.5261 GB, free: 9.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.033e-05/0.3868, allocations: 64.28 kB / 0.5262 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3868, allocations: 9.188 kB / 0.5262 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3868, allocations: 1.875 kB / 0.5262 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3869, allocations: 0 / 0.5262 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3869, allocations: 0.5469 kB / 0.5262 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3869, allocations: 4.062 kB / 0.5262 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.3869, allocations: 1.656 kB / 0.5262 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.3869, allocations: 0 / 0.5262 GB, free: 9.414 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 5.237e-05/0.3869, allocations: 118.6 kB / 0.5263 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.387, allocations: 9.234 kB / 0.5263 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3871, allocations: 178.2 kB / 0.5265 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.3871, allocations: 178.1 kB / 0.5267 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.3871, allocations: 181.5 kB / 0.5269 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.32e-05/0.3871, allocations: 179.4 kB / 0.527 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3873, allocations: 364.6 kB / 0.5274 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.3873, allocations: 111.5 kB / 0.5275 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.784e-05/0.3873, allocations: 108.5 kB / 0.5276 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/0.3873, allocations: 177.5 kB / 0.5278 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.3873, allocations: 187.2 kB / 0.5279 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.222e-05/0.3874, allocations: 182.8 kB / 0.5281 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.061e-05/0.3874, allocations: 179.6 kB / 0.5283 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.883e-05/0.3875, allocations: 307.5 kB / 0.5286 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.3875, allocations: 108.3 kB / 0.5287 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.979e-05/0.3875, allocations: 186.7 kB / 0.5288 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.3876, allocations: 105 kB / 0.5289 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.3876, allocations: 179.5 kB / 0.5291 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.3876, allocations: 107 kB / 0.5292 GB, free: 6.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.3877, allocations: 106.7 kB / 0.5293 GB, free: 6.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3877, allocations: 0 / 0.5293 GB, free: 6.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002302/0.39, allocations: 0.6111 MB / 0.5299 GB, free: 6.086 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.002654/0.3926, allocations: 1.031 MB / 0.5309 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.3927, allocations: 18.98 kB / 0.5309 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3927, allocations: 0 / 0.5309 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3927, allocations: 0.625 kB / 0.5309 GB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3932, allocations: 485.8 kB / 0.5314 GB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/0.3934, allocations: 217 kB / 0.5316 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.3935, allocations: 63 kB / 0.5317 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.082e-05/0.3935, allocations: 2.953 kB / 0.5317 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3935, allocations: 11.5 kB / 0.5317 GB, free: 5.039 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3935, allocations: 0 / 0.5317 GB, free: 5.039 MB / 382.1 MB Notification: Performance of Templates: time 0.02815/0.4217, allocations: 19.7 MB / 0.5509 GB, free: 12.69 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.493980610743165] Failed to read output from testmodel.py, exit status != 0: 0.42877682112157345 0.452665719 0.079137234 Calling exit ...