Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.1424/0.1424, allocations: 11.16 MB / 30.26 MB, free: 6.535 MB / 26.18 MB " [Timeout remaining time 180] 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.001379/0.001379, allocations: 92.12 kB / 37.85 MB, free: 7.953 MB / 34.91 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.001492/0.001492, allocations: 160.6 kB / 45.52 MB, free: 280 kB / 34.91 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.459/1.459, allocations: 177.2 MB / 230.2 MB, free: 8.395 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1459/0.1459, allocations: 17.63 MB / 308.7 MB, free: 12.84 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") translateModel(Physiolibrary.Fluid.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 453.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.383e-05, allocations: 2.281 kB / 453.6 MB, free: 3.133 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:596:7-596:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MinimalCirculation): time 0.0977/0.09774, allocations: 70.93 MB / 0.5122 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3316/0.4293, allocations: 13.71 MB / 0.5256 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.4307, allocations: 26.09 kB / 0.5256 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.4317, allocations: 257.1 kB / 0.5259 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005288/0.437, allocations: 1.618 MB / 0.5275 GB, free: 27.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008696/0.4457, allocations: 2.268 MB / 0.5297 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.4487, allocations: 1.523 MB / 0.5312 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008779/0.4496, allocations: 331.1 kB / 0.5315 GB, free: 27.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.4532, allocations: 1.367 MB / 0.5328 GB, free: 27.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.4546, allocations: 0.5034 MB / 0.5333 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.4548, allocations: 53.34 kB / 0.5334 GB, free: 27.06 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004917/0.4597, allocations: 1.297 MB / 0.5346 GB, free: 26.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.46, allocations: 183.2 kB / 0.5348 GB, free: 26.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.4605, allocations: 253.5 kB / 0.535 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006169/0.4666, allocations: 2.113 MB / 0.5371 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4666, allocations: 2.656 kB / 0.5371 GB, free: 26.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4666, allocations: 1.156 kB / 0.5371 GB, free: 26.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4666, allocations: 0 / 0.5371 GB, free: 26.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002572/0.4692, allocations: 1.083 MB / 0.5382 GB, free: 25.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4693, allocations: 13.73 kB / 0.5382 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4694, allocations: 66.5 kB / 0.5383 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.4701, allocations: 416.4 kB / 0.5386 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.4702, allocations: 40.16 kB / 0.5387 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.4703, allocations: 41.47 kB / 0.5387 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4714, allocations: 0.6034 MB / 0.5393 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4715, allocations: 3.906 kB / 0.5393 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.625e-05/0.4715, allocations: 16.06 kB / 0.5393 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.4715, allocations: 15.52 kB / 0.5393 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.4727, allocations: 497.6 kB / 0.5398 GB, free: 25.57 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.4754, allocations: 1.737 MB / 0.5415 GB, free: 24.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009424/0.4764, allocations: 425.5 kB / 0.5419 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.477, allocations: 244.4 kB / 0.5422 GB, free: 24.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.4785, allocations: 0.7687 MB / 0.5429 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006136/0.4791, allocations: 319.2 kB / 0.5432 GB, free: 24.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/0.4791, allocations: 2.656 kB / 0.5432 GB, free: 24.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=38): time 0.001773/0.4809, allocations: 0.6571 MB / 0.5439 GB, free: 24.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4809, allocations: 55.81 kB / 0.5439 GB, free: 24.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/0.4815, allocations: 446.7 kB / 0.5443 GB, free: 24.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4815, allocations: 32.86 kB / 0.5444 GB, free: 23.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.4817, allocations: 294.3 kB / 0.5446 GB, free: 23.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.4818, allocations: 144.1 kB / 0.5448 GB, free: 23.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.4821, allocations: 107.5 kB / 0.5449 GB, free: 23.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4822, allocations: 365.2 kB / 0.5452 GB, free: 23.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.4827, allocations: 238.3 kB / 0.5455 GB, free: 23.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/0.4833, allocations: 369.8 kB / 0.5458 GB, free: 23.19 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: veins.mass = veins.tm_start (veins.m_start[1] + veins.massOffset = veins.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004193/0.4875, allocations: 1.617 MB / 0.5474 GB, free: 22.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.4875, allocations: 1.375 kB / 0.5474 GB, free: 22.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001559/0.4891, allocations: 0.728 MB / 0.5481 GB, free: 22.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.4891, allocations: 33.39 kB / 0.5481 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4891, allocations: 3.562 kB / 0.5481 GB, free: 22.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001715/0.4893, allocations: 45.12 kB / 0.5482 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.4898, allocations: 114.8 kB / 0.5483 GB, free: 22.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/0.4902, allocations: 0.5678 MB / 0.5489 GB, free: 22.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.4909, allocations: 58.94 kB / 0.5489 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.4909, allocations: 24.7 kB / 0.5489 GB, free: 22.16 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start veins.mass = veins.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.pulse.count,$PRE.pulse.T_start,pulse.count,pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.4912, allocations: 192.8 kB / 0.5491 GB, free: 22.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.892e-05/0.4913, allocations: 50.17 kB / 0.5492 GB, free: 22.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4926, allocations: 0.5465 MB / 0.5497 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4927, allocations: 4.344 kB / 0.5497 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.4927, allocations: 2.719 kB / 0.5497 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4927, allocations: 5.094 kB / 0.5497 GB, free: 21.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.4933, allocations: 384.7 kB / 0.5501 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4933, allocations: 7.266 kB / 0.5501 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.4937, allocations: 67.38 kB / 0.5501 GB, free: 21.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/0.4939, allocations: 39.22 kB / 0.5502 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.4939, allocations: 10.95 kB / 0.5502 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004434/0.4944, allocations: 0.5562 MB / 0.5507 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4944, allocations: 0 / 0.5507 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4962, allocations: 0.7662 MB / 0.5515 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.4965, allocations: 102.6 kB / 0.5516 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/0.4965, allocations: 6.812 kB / 0.5516 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.4969, allocations: 23.48 kB / 0.5516 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.497, allocations: 38.56 kB / 0.5516 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.497, allocations: 12.33 kB / 0.5517 GB, free: 21.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.4974, allocations: 303.7 kB / 0.552 GB, free: 21.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4974, allocations: 0 / 0.552 GB, free: 21.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001946/0.4993, allocations: 0.5129 MB / 0.5525 GB, free: 20.95 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (arteries.enthalpy,arteries.substanceMasses[1],veins.enthalpy,veins.substanceMasses[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001884/0.5012, allocations: 0.7543 MB / 0.5532 GB, free: 20.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.5026, allocations: 0.5619 MB / 0.5537 GB, free: 20.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5026, allocations: 3.438 kB / 0.5537 GB, free: 20.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.5031, allocations: 224.4 kB / 0.554 GB, free: 20.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5042, allocations: 231.5 kB / 0.5542 GB, free: 20.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.5063, allocations: 1.065 MB / 0.5552 GB, free: 20.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002016/0.5065, allocations: 258.6 kB / 0.5555 GB, free: 20.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.5069, allocations: 123.8 kB / 0.5556 GB, free: 20.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.507, allocations: 59.59 kB / 0.5556 GB, free: 20.12 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.507, allocations: 0 / 0.5556 GB, free: 20.12 MB / 430.1 MB Notification: Performance of Templates: time 0.02778/0.5348, allocations: 17.71 MB / 0.5729 GB, free: 13.53 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.151100300252438] Failed to read output from testmodel.py, exit status != 0: 0.5448522493243217 0.556158515 0.08681477300000001 Calling exit ...