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.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.09071/0.09071, allocations: 15.52 MB / 33.02 MB, free: 3.043 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 125.2 kB / 40.49 MB, free: 444 kB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 192.5 kB / 48.07 MB, free: 1.582 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 281.1 MB, free: 6.957 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.2429/0.2429, allocations: 23.69 MB / 364.3 MB, free: 6.555 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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 0.003195/0.003195, allocations: 122.6 kB / 0.4944 GB, free: 47.06 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1035, allocations: 62.64 MB / 0.5555 GB, free: 15.83 MB / 398.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.08813/0.1917, allocations: 76.83 MB / 0.6306 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01937/0.211, allocations: 15.45 MB / 0.6457 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.2118, allocations: 19.88 kB / 0.6457 GB, free: 6.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.2124, allocations: 246.2 kB / 0.6459 GB, free: 6.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003717/0.2162, allocations: 1.588 MB / 0.6475 GB, free: 4.812 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005363/0.2215, allocations: 2.159 MB / 0.6496 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2232, allocations: 1.493 MB / 0.651 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.2236, allocations: 347.5 kB / 0.6514 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.2257, allocations: 1.163 MB / 0.6525 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007397/0.2265, allocations: 0.5837 MB / 0.6531 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.089e-05/0.2266, allocations: 52 kB / 0.6531 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00332/0.2299, allocations: 1.544 MB / 0.6546 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.2301, allocations: 179.4 kB / 0.6548 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.2304, allocations: 342.5 kB / 0.6551 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003182/0.2336, allocations: 2.078 MB / 0.6571 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2336, allocations: 0 / 0.6571 GB, free: 10.85 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2336, allocations: 0 / 0.6571 GB, free: 10.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.2336, allocations: 0 / 0.6571 GB, free: 10.85 MB / 494.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.002076/0.2357, allocations: 1.169 MB / 0.6583 GB, free: 9.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2357, allocations: 16.03 kB / 0.6583 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.2359, allocations: 67.58 kB / 0.6584 GB, free: 9.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/0.2366, allocations: 472.8 kB / 0.6588 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.2366, allocations: 36.98 kB / 0.6589 GB, free: 8.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/0.2367, allocations: 44 kB / 0.6589 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2378, allocations: 0.5577 MB / 0.6594 GB, free: 8.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2378, allocations: 3.938 kB / 0.6594 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.2378, allocations: 19.94 kB / 0.6595 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.2378, allocations: 12 kB / 0.6595 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2389, allocations: 495.6 kB / 0.6599 GB, free: 7.844 MB / 494.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.003043/0.2419, allocations: 2.255 MB / 0.6621 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000928/0.2429, allocations: 0.4905 MB / 0.6626 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.2434, allocations: 244.6 kB / 0.6629 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.2452, allocations: 1.398 MB / 0.6642 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.2457, allocations: 263.1 kB / 0.6645 GB, free: 2.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=38): time 1.703e-06/0.2457, allocations: 0 / 0.6645 GB, free: 2.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=38): time 0.001637/0.2474, allocations: 0.7259 MB / 0.6652 GB, free: 2.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2474, allocations: 55.41 kB / 0.6652 GB, free: 2.031 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2479, allocations: 461.9 kB / 0.6657 GB, free: 1.574 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.248, allocations: 29.7 kB / 0.6657 GB, free: 1.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.2482, allocations: 304.3 kB / 0.666 GB, free: 1.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2483, allocations: 142.8 kB / 0.6661 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.2485, allocations: 114.2 kB / 0.6662 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2487, allocations: 358.8 kB / 0.6666 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004706/0.2492, allocations: 205 kB / 0.6668 GB, free: 424 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.2497, allocations: 340.4 kB / 0.6671 GB, free: 32 kB / 494.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.003952/0.2537, allocations: 1.704 MB / 0.6688 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2537, allocations: 4 kB / 0.6688 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001417/0.2551, allocations: 0.6944 MB / 0.6695 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.2552, allocations: 34.2 kB / 0.6695 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2552, allocations: 4 kB / 0.6695 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.2553, allocations: 56.75 kB / 0.6695 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.2558, allocations: 111.9 kB / 0.6696 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004333/0.2563, allocations: 0.5601 MB / 0.6702 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.2568, allocations: 67.69 kB / 0.6703 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.2569, allocations: 24 kB / 0.6703 GB, free: 12.62 MB / 0.4981 GB 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.0002807/0.2572, allocations: 193 kB / 0.6705 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.2572, allocations: 51.67 kB / 0.6705 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.2585, allocations: 0.5531 MB / 0.6711 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2585, allocations: 4 kB / 0.6711 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2585, allocations: 0 / 0.6711 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2585, allocations: 0 / 0.6711 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.2591, allocations: 0.5204 MB / 0.6716 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2591, allocations: 0 / 0.6716 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.2595, allocations: 75.89 kB / 0.6716 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.273e-05/0.2596, allocations: 36.83 kB / 0.6717 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.2596, allocations: 19.92 kB / 0.6717 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000385/0.26, allocations: 0.5484 MB / 0.6722 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.26, allocations: 0 / 0.6722 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2616, allocations: 0.7711 MB / 0.673 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.2618, allocations: 176.7 kB / 0.6732 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.2619, allocations: 12 kB / 0.6732 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.2623, allocations: 27.97 kB / 0.6732 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.2624, allocations: 31.95 kB / 0.6732 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.2624, allocations: 19.98 kB / 0.6732 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003843/0.2628, allocations: 315.1 kB / 0.6735 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2628, allocations: 0 / 0.6735 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001206/0.264, allocations: 0.5216 MB / 0.6741 GB, free: 8.625 MB / 0.4981 GB 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.001298/0.2653, allocations: 0.7285 MB / 0.6748 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.2665, allocations: 0.5262 MB / 0.6753 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2665, allocations: 3.938 kB / 0.6753 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.267, allocations: 220.8 kB / 0.6755 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.2681, allocations: 229.5 kB / 0.6757 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.2703, allocations: 1.184 MB / 0.6769 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.2708, allocations: 0.8591 MB / 0.6777 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003925/0.2712, allocations: 128.3 kB / 0.6778 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.2714, allocations: 59.41 kB / 0.6779 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.2714, allocations: 0 / 0.6779 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.2465/0.5179, allocations: 17.91 MB / 0.6954 GB, free: 111.4 MB / 0.4981 GB " [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: 5.6211644327268]