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.07911/0.07911, allocations: 11.14 MB / 31.73 MB, free: 4.816 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.0008925/0.0008925, allocations: 90.73 kB / 39.44 MB, free: 6.918 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.001086/0.001086, allocations: 160.6 kB / 47.24 MB, free: 10.2 MB / 44.04 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.8964/0.8964, allocations: 177.2 MB / 232.1 MB, free: 4.672 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.1014/0.1014, allocations: 17.63 MB / 310.7 MB, free: 8.59 MB / 282.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.422e-06/1.422e-06, allocations: 0 / 392.5 MB, free: 45.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.069e-05, allocations: 2.312 kB / 392.5 MB, free: 45.91 MB / 330.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.04548/0.0455, allocations: 61.57 MB / 454.1 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00968/0.05518, allocations: 6.437 MB / 460.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.05625, allocations: 23.81 kB / 460.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.05744, allocations: 210.4 kB / 460.8 MB, free: 9.832 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.06247, allocations: 1.618 MB / 462.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007585/0.07006, allocations: 2.26 MB / 464.6 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.07246, allocations: 1.527 MB / 466.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006968/0.07316, allocations: 360.2 kB / 466.5 MB, free: 4.043 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003682/0.07684, allocations: 1.369 MB / 467.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.07807, allocations: 0.5103 MB / 468.4 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.07822, allocations: 52 kB / 468.4 MB, free: 2.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004395/0.08261, allocations: 1.301 MB / 469.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.08294, allocations: 179.4 kB / 469.9 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.08348, allocations: 259.4 kB / 470.2 MB, free: 380 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006319/0.0898, allocations: 1.911 MB / 472.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.08981, allocations: 4 kB / 472.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.08981, allocations: 3.938 kB / 472.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.08982, allocations: 0 / 472.1 MB, free: 14.45 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.002179/0.092, allocations: 1.178 MB / 473.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.09204, allocations: 8.031 kB / 473.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.09224, allocations: 103.6 kB / 473.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.09289, allocations: 408.4 kB / 473.8 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.09293, allocations: 37 kB / 473.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.09302, allocations: 43.94 kB / 473.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007271/0.09374, allocations: 485.8 kB / 474.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.09377, allocations: 7.953 kB / 474.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-05/0.09382, allocations: 20 kB / 474.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.09383, allocations: 8 kB / 474.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.09425, allocations: 202.7 kB / 474.6 MB, free: 11.84 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.002672/0.09693, allocations: 1.984 MB / 476.5 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.09739, allocations: 262.2 kB / 476.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.09761, allocations: 111.5 kB / 476.9 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.09886, allocations: 0.7532 MB / 477.7 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.09918, allocations: 208.5 kB / 477.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.795e-06/0.09918, allocations: 0 / 477.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.000823/0.1, allocations: 348.4 kB / 478.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.1, allocations: 63.27 kB / 478.3 MB, free: 7.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.1004, allocations: 454.2 kB / 478.7 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.1005, allocations: 37.7 kB / 478.8 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1007, allocations: 338.9 kB / 479.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.1008, allocations: 146.8 kB / 479.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.101, allocations: 111.9 kB / 479.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1011, allocations: 0.5351 MB / 479.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1013, allocations: 111 kB / 480 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.1016, allocations: 287.2 kB / 480.3 MB, free: 5.855 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.001175/0.1028, allocations: 0.7485 MB / 481 MB, free: 5.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.1028, allocations: 8 kB / 481 MB, free: 5.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009237/0.1037, allocations: 497 kB / 481.5 MB, free: 4.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.1038, allocations: 41.77 kB / 481.5 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1038, allocations: 4 kB / 481.5 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/0.1041, allocations: 27.67 kB / 481.6 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.1047, allocations: 115.8 kB / 481.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003786/0.1051, allocations: 0.7999 MB / 482.5 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.1055, allocations: 59.61 kB / 482.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.1055, allocations: 20.06 kB / 482.6 MB, free: 3.391 MB / 378.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.000189/0.1057, allocations: 204.2 kB / 482.8 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.1058, allocations: 59.72 kB / 482.8 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.1063, allocations: 346.1 kB / 483.2 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.1063, allocations: 4 kB / 483.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1063, allocations: 4 kB / 483.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1063, allocations: 0 / 483.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.1066, allocations: 288.8 kB / 483.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1066, allocations: 0 / 483.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.1068, allocations: 63.89 kB / 483.5 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-05/0.1069, allocations: 27.67 kB / 483.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1069, allocations: 11.98 kB / 483.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002705/0.1072, allocations: 0.8038 MB / 484.4 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1072, allocations: 0 / 484.4 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1077, allocations: 407.2 kB / 484.8 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.1078, allocations: 99.47 kB / 484.8 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.1078, allocations: 8 kB / 484.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.108, allocations: 15.98 kB / 484.9 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.108, allocations: 39.94 kB / 484.9 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1081, allocations: 12.05 kB / 484.9 MB, free: 0.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1082, allocations: 279 kB / 485.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1082, allocations: 4 kB / 485.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008797/0.1091, allocations: 0.5101 MB / 485.7 MB, free: 136 kB / 378.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.0008529/0.1099, allocations: 0.7821 MB / 486.5 MB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.1104, allocations: 361.3 kB / 486.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1104, allocations: 4 kB / 486.8 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.1106, allocations: 140.3 kB / 487 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.1111, allocations: 240.5 kB / 487.2 MB, free: 14.59 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.001832/0.113, allocations: 1.031 MB / 488.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.309e-05/0.113, allocations: 137.6 kB / 488.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.1133, allocations: 96.38 kB / 488.5 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.1136, allocations: 258 kB / 488.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1136, allocations: 8 kB / 488.7 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Templates: time 0.0197/0.1333, allocations: 20.83 MB / 0.4976 GB, free: 8.387 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.365087150596082]