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.06484/0.06484, allocations: 11.15 MB / 31.01 MB, free: 4.785 MB / 24.77 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.001266/0.001266, allocations: 89.98 kB / 38.74 MB, free: 6.844 MB / 33.03 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.001318/0.001318, allocations: 174.3 kB / 42.15 MB, free: 3.516 MB / 33.03 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 0.9224/0.9224, allocations: 177.2 MB / 222.6 MB, free: 6.289 MB / 202.7 MB " [Timeout remaining time 179] 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.1805/0.1805, allocations: 17.62 MB / 296.7 MB, free: 1.258 MB / 266.7 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.503e-06/1.503e-06, allocations: 0 / 320.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.503e-05, allocations: 4.984 kB / 320.9 MB, free: 14.2 MB / 298.7 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.04924/0.04926, allocations: 67.73 MB / 388.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007124/0.05638, allocations: 6.538 MB / 395.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005929/0.05697, allocations: 27.75 kB / 395.2 MB, free: 3.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.0575, allocations: 198.4 kB / 395.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.06072, allocations: 1.634 MB / 397 MB, free: 2.094 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004983/0.06571, allocations: 2.283 MB / 399.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.06702, allocations: 1.527 MB / 400.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.0674, allocations: 360.9 kB / 401.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.06943, allocations: 1.373 MB / 402.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.06998, allocations: 490.5 kB / 403 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.467e-05/0.07004, allocations: 56 kB / 403.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.07248, allocations: 1.298 MB / 404.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.07263, allocations: 179.4 kB / 404.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.07283, allocations: 259.4 kB / 404.8 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.07525, allocations: 1.919 MB / 406.7 MB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.07525, allocations: 3.984 kB / 406.7 MB, free: 8.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.07525, allocations: 4 kB / 406.7 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.07526, allocations: 0 / 406.7 MB, free: 8.324 MB / 378.7 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.001158/0.07641, allocations: 1.042 MB / 407.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.07645, allocations: 8.031 kB / 407.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.07655, allocations: 75.94 kB / 407.8 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.07697, allocations: 365.8 kB / 408.2 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.077, allocations: 40.98 kB / 408.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.07705, allocations: 40 kB / 408.3 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.07749, allocations: 469.9 kB / 408.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.0775, allocations: 4 kB / 408.7 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.07753, allocations: 16 kB / 408.8 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.07754, allocations: 16 kB / 408.8 MB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.07779, allocations: 181.6 kB / 409 MB, free: 5.98 MB / 378.7 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.00134/0.07913, allocations: 1.433 MB / 410.4 MB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.07941, allocations: 281.8 kB / 410.7 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.07954, allocations: 112.1 kB / 410.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007344/0.08028, allocations: 0.6257 MB / 411.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.08048, allocations: 217.1 kB / 411.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.403e-06/0.08049, allocations: 0 / 411.6 MB, free: 3.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.0004334/0.08092, allocations: 266 kB / 411.9 MB, free: 2.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.08095, allocations: 55.41 kB / 411.9 MB, free: 2.887 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.08144, allocations: 392.8 kB / 412.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.08147, allocations: 33.7 kB / 412.3 MB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.08158, allocations: 257.1 kB / 412.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.08165, allocations: 146.8 kB / 412.7 MB, free: 2.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.08176, allocations: 106.2 kB / 412.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.08186, allocations: 358.7 kB / 413.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.082, allocations: 105.8 kB / 413.3 MB, free: 1.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.0822, allocations: 239.2 kB / 413.5 MB, free: 1.176 MB / 378.7 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.0008002/0.083, allocations: 0.7227 MB / 414.3 MB, free: 388 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.083, allocations: 0 / 414.3 MB, free: 388 kB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004409/0.08344, allocations: 408.5 kB / 414.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.08347, allocations: 41.69 kB / 414.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.08348, allocations: 4 kB / 414.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.409e-05/0.08357, allocations: 24.84 kB / 414.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.08382, allocations: 111.8 kB / 414.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/0.08403, allocations: 0.533 MB / 415.4 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.08422, allocations: 59.61 kB / 415.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.08425, allocations: 16 kB / 415.4 MB, free: 15.14 MB / 394.7 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.0001182/0.08437, allocations: 149.1 kB / 415.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.08442, allocations: 35.97 kB / 415.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.08476, allocations: 278.8 kB / 415.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.08476, allocations: 7.938 kB / 415.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.08477, allocations: 7.984 kB / 415.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.08477, allocations: 0 / 415.9 MB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.08499, allocations: 257.8 kB / 416.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.08499, allocations: 0 / 416.2 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.08516, allocations: 63.89 kB / 416.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.736e-05/0.08522, allocations: 28.84 kB / 416.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.08524, allocations: 8 kB / 416.3 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001829/0.08543, allocations: 0.5288 MB / 416.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.08543, allocations: 0 / 416.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.08578, allocations: 324.4 kB / 417.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.08588, allocations: 71.61 kB / 417.2 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.08593, allocations: 16.05 kB / 417.2 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.08606, allocations: 15.98 kB / 417.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.08612, allocations: 43.88 kB / 417.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.08614, allocations: 7.984 kB / 417.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001185/0.08626, allocations: 163.5 kB / 417.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08626, allocations: 0 / 417.4 MB, free: 13.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006497/0.0869, allocations: 0.5101 MB / 417.9 MB, free: 12.56 MB / 394.7 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.0008269/0.08773, allocations: 0.7657 MB / 418.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.08841, allocations: 353.3 kB / 419 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.08842, allocations: 4 kB / 419 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.08856, allocations: 129.2 kB / 419.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.08905, allocations: 244 kB / 419.4 MB, free: 11.05 MB / 394.7 MB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.09086, allocations: 0.986 MB / 420.4 MB, free: 10.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.401e-05/0.09094, allocations: 137.7 kB / 420.5 MB, free: 9.879 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000206/0.09114, allocations: 96.27 kB / 420.6 MB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.09148, allocations: 233.1 kB / 420.8 MB, free: 9.551 MB / 394.7 MB Notification: Performance of SimCode: time 6.71e-07/0.09149, allocations: 4 kB / 420.8 MB, free: 9.547 MB / 394.7 MB Notification: Performance of Templates: time 0.0206/0.1121, allocations: 20.52 MB / 441.4 MB, free: 5.18 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.364476855378598]