Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004359/0.0004359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007689/0.001205, allocations: 0 / 0, free: 0 / 0 " [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.000336/0.000336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007476/0.001084, allocations: 0 / 0, free: 0 / 0 " [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.2457/0.2457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.07063/0.3164, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.006181/0.006181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.003924/0.01011, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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) Running command: simulate(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation,startTime=0,stopTime=5,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.463e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation): time 0.00662/0.006654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00336/0.01001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.01033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.01072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0009912/0.01171, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.01223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0008899/0.01312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.01339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009381/0.01433, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.01477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001/0.01487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.01498, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.01515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.01548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.01625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001215/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.754e-06/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.158e-05/0.0164, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002/0.0184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001236/0.01852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.01871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.0194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.01962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.01971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.02058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.02061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/0.02069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.02071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.02114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.02297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.02372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.02394, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.02398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.02439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=90): time 4.949e-06/0.0244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=90): time 0.001182/0.02558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.02562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.02589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 7.299e-05/0.02596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.02623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.0264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 6.835e-05/0.02647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.02662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.02682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0005737/0.02739, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.0274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=118) (initialization): time 0.0007502/0.02815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.02816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003509/0.02852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.02923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.03168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.03197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.03202, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 14 variables: mitralValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real aorticValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real tricuspidValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real pulmonaryValve.lastChange:DISCRETE(start = 0.0 unit = \"s\" fixed = true nominal = 60.0 ) type: Real timeVaryingElastanceRight.ts:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of systole\" type: Real timeVaryingElastanceRight.t0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"time of beginning of the cardiac cycle\" type: Real timeVaryingElastanceRight.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"heart period\" type: Real timeVaryingElastanceLeft.ts:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"duration of systole\" type: Real timeVaryingElastanceLeft.t0:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"time of beginning of the cardiac cycle\" type: Real timeVaryingElastanceLeft.HP:DISCRETE(unit = \"s\" fixed = true nominal = 60.0 ) \"heart period\" type: Real systemicInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real aorticInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real pulmonaryArterialInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real pulmonaryVeinsInertia.q_in.q:VARIABLE(flow=true unit = \"m3/s\" fixed = true nominal = 1.6666666666666667e-8 ) \"Volume flow\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.mitralValve.lastChange,mitralValve.lastChange,$PRE.aorticValve.lastChange,aorticValve.lastChange,$PRE.tricuspidValve.lastChange,tricuspidValve.lastChange,$PRE.pulmonaryValve.lastChange,pulmonaryValve.lastChange,$PRE.timeVaryingElastanceRight.ts,$PRE.timeVaryingElastanceRight.t0,$PRE.timeVaryingElastanceRight.HP,$PRE.timeVaryingElastanceLeft.ts,$PRE.timeVaryingElastanceLeft.t0,$PRE.timeVaryingElastanceLeft.HP,pulmonaryValve.open,tricuspidValve.open,aorticValve.open,mitralValve.open,$whenCondition1,$whenCondition2,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.ts,timeVaryingElastanceRight.HP,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceLeft.HP) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,5), (1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.03233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.03243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007604/0.03319, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.0332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.03321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.03379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.0338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/0.03483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.03489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.03771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.03771, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.03873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/0.03896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.03914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.03939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.03954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.0396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001713/0.03977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.416e-05/0.03979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008032/0.04059, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (pulmonaryVeinsInertia.q_in.q,pulmonaryArterialInertia.q_in.q,pulmonaryVeins.volume,leftVentricle.volume,aorta.volume,aorticInertia.q_in.q,arteries.volume,systemicInertia.q_in.q,rightVentricle.volume,pulmonaryArtery.volume,pulmonaryArterioles.volume,veins.volume) * Number of discrete variables: 16 (mitralValve.lastChange,aorticValve.lastChange,tricuspidValve.lastChange,pulmonaryValve.lastChange,$whenCondition2,$whenCondition1,mitralValve.open,aorticValve.open,tricuspidValve.open,pulmonaryValve.open,timeVaryingElastanceLeft.HP,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceRight.HP,timeVaryingElastanceRight.t0,timeVaryingElastanceRight.ts) * Number of discrete states: 6 (timeVaryingElastanceRight.ts,timeVaryingElastanceRight.t0,timeVaryingElastanceLeft.ts,timeVaryingElastanceLeft.t0,timeVaryingElastanceLeft.HP,timeVaryingElastanceRight.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,5), (1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003783/0.04097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001046/0.04201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.387e-05/0.04203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.04257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.04328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.04576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.0459, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002688/0.04616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.04662, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.109e-05/0.04665, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004918/0.05157, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 1.0568713159300387]