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.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.001871/0.001871, 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.002462/0.002462, allocations: 217.9 kB / 22.26 MB, free: 5.121 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.988 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.04963/0.04963, allocations: 9.145 MB / 321.6 MB, free: 10.43 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_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: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 447.1 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1086, allocations: 54.95 MB / 0.4903 GB, free: 9.645 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.02029/0.1289, allocations: 16.98 MB / 0.5068 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2378/0.3668, allocations: 9.756 MB / 0.5164 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.3668, allocations: 1.406 kB / 0.5164 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007504/0.3676, allocations: 288.5 kB / 0.5166 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.3676, allocations: 24.73 kB / 0.5167 GB, free: 7.254 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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 main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888: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.01497/0.3826, allocations: 5.387 MB / 0.5219 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3827, allocations: 45.44 kB / 0.522 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.532e-05/0.3828, allocations: 2.781 kB / 0.522 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.3829, allocations: 26.88 kB / 0.522 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.3829, allocations: 13.55 kB / 0.522 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.3829, allocations: 0 / 0.522 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.3981, allocations: 8.316 MB / 0.5301 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3981, allocations: 6.047 kB / 0.5301 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.3982, allocations: 11.59 kB / 0.5301 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009845/0.408, allocations: 3.329 MB / 0.5334 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.408, allocations: 1.188 kB / 0.5334 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.408, allocations: 0 / 0.5334 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.408, allocations: 0 / 0.5334 GB, free: 6.039 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.002798/0.4108, allocations: 0.64 MB / 0.534 GB, free: 5.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4109, allocations: 13.97 kB / 0.534 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.4109, allocations: 1.062 kB / 0.534 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.633e-05/0.411, allocations: 108.7 kB / 0.5341 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.411, allocations: 3.938 kB / 0.5341 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.411, allocations: 1.281 kB / 0.5341 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4111, allocations: 42.06 kB / 0.5342 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.4111, allocations: 0 / 0.5342 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4111, allocations: 1.859 kB / 0.5342 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.4112, allocations: 0.6562 kB / 0.5342 GB, free: 5.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.4112, allocations: 20.34 kB / 0.5342 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/0.4113, allocations: 136.8 kB / 0.5343 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.296e-05/0.4114, allocations: 29.69 kB / 0.5344 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.4114, allocations: 21.17 kB / 0.5344 GB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02118/0.4326, allocations: 4.375 MB / 0.5387 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4326, allocations: 38.53 kB / 0.5387 GB, free: 3.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.886e-06/0.4326, allocations: 0 / 0.5387 GB, free: 3.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002446/0.4329, allocations: 79.7 kB / 0.5388 GB, free: 3.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.4329, allocations: 55.09 kB / 0.5388 GB, free: 3.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.431e-05/0.4329, allocations: 93.11 kB / 0.5389 GB, free: 3.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.4329, allocations: 25.7 kB / 0.5389 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.433, allocations: 81.39 kB / 0.539 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.433, allocations: 28.59 kB / 0.539 GB, free: 3.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.433, allocations: 18.44 kB / 0.5391 GB, free: 3.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.4331, allocations: 319.7 kB / 0.5394 GB, free: 2.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/0.4331, allocations: 16.89 kB / 0.5394 GB, free: 2.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.4331, allocations: 11 kB / 0.5394 GB, free: 2.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.4331, allocations: 40.94 kB / 0.5394 GB, free: 2.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.4332, allocations: 0 / 0.5394 GB, free: 2.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.017e-05/0.4332, allocations: 62.77 kB / 0.5395 GB, free: 2.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.4333, allocations: 5.594 kB / 0.5395 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4333, allocations: 0 / 0.5395 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.4333, allocations: 5.094 kB / 0.5395 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.4333, allocations: 1.094 kB / 0.5395 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4333, allocations: 1.156 kB / 0.5395 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.4333, allocations: 0 / 0.5395 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4333, allocations: 1.25 kB / 0.5395 GB, free: 2.855 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.087e-05/0.4334, allocations: 118.5 kB / 0.5396 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.4334, allocations: 1.281 kB / 0.5396 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.4335, allocations: 179.9 kB / 0.5398 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.4335, allocations: 181.5 kB / 0.54 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.241e-05/0.4335, allocations: 181.4 kB / 0.5401 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.4336, allocations: 178.7 kB / 0.5403 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.4337, allocations: 389.3 kB / 0.5407 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.4337, allocations: 108.5 kB / 0.5408 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.4337, allocations: 106 kB / 0.5409 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.965e-05/0.4337, allocations: 181.4 kB / 0.5411 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.4338, allocations: 181.3 kB / 0.5412 GB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.055e-05/0.4338, allocations: 181.4 kB / 0.5414 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/0.4338, allocations: 181.3 kB / 0.5416 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.381e-05/0.4339, allocations: 312 kB / 0.5419 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.4339, allocations: 107.8 kB / 0.542 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.4339, allocations: 190 kB / 0.5422 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4341, allocations: 104.9 kB / 0.5423 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.4341, allocations: 180.6 kB / 0.5424 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.4342, allocations: 110 kB / 0.5425 GB, free: 15.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.4343, allocations: 100.8 kB / 0.5426 GB, free: 15.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4343, allocations: 0 / 0.5426 GB, free: 15.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0028/0.4371, allocations: 0.7614 MB / 0.5434 GB, free: 15.36 MB / 398.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.003841/0.4409, allocations: 1.269 MB / 0.5446 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.441, allocations: 17.67 kB / 0.5446 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.441, allocations: 0 / 0.5446 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.441, allocations: 1.406 kB / 0.5446 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006571/0.4417, allocations: 492.5 kB / 0.5451 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.442, allocations: 207 kB / 0.5453 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4423, allocations: 0.6808 MB / 0.546 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.4424, allocations: 9.156 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.4424, allocations: 11.75 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4424, allocations: 0 / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.03284/0.4752, allocations: 21.79 MB / 0.5673 GB, free: 11.82 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.704656573012471] Failed to read output from testmodel.py, exit status != 0: 0.4827828691340983 0.49814335899999995 0.08681284 Calling exit ...