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.0003543/0.0003543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007295/0.001084, 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.0002775/0.0002775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004808/0.0007583, 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.1019/0.1019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04796/0.1499, 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.003934/0.003934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.002577/0.006511, 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 9.42e-07/9.42e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.004e-05/1.098e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.Fernandez2013.PulsatileCirculation): time 0.006969/0.00698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002997/0.009976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.01074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00114/0.01188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.01247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009916/0.01346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0003139/0.01378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.0149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0005382/0.01544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.01553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.01565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.01581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003678/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.01699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000143/0.01713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.894e-06/0.01713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.174e-05/0.01714, 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.001961/0.0191, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001067/0.01921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.01943, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.02019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.02036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.02048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.02137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.02145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.02147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.0219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.02404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.02484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.02511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004381/0.02555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=90): time 6.822e-06/0.02555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=90): time 0.001257/0.02681, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.02685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.02714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 9.524e-05/0.02723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.02738, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.02759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.02777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.225e-05/0.02781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.02797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.02817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.0288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.02881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008247/0.02963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.02966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.02967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.02997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.03089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.03338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.03371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/0.03376, 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.0002879/0.03405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.03415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007878/0.03494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.03495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.03495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.03496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.03552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.03553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.03632, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.03656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.03683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.03688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.03893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.03893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008741/0.0398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.04004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.04034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.04048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.04055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001508/0.0407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.555e-05/0.04071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001334/0.04205, 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.000256/0.0423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0009207/0.04322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.831e-05/0.04325, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0006084/0.04386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.04477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.0591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.05929, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003179/0.05961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.06018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 4.103e-05/0.06022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004242/0.06446, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7320702932775021]