Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.conf.json 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.001293/0.001293, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001518/0.001518, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9897/0.9897, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.06105/0.06105, allocations: 12.76 MB / 273 MB, free: 168 kB / 250.7 MB " [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: translateModel(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") translateModel(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 293.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.405e-05, allocations: 2.312 kB / 293.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.01127/0.01129, allocations: 4.876 MB / 298.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00589/0.01718, allocations: 1.244 MB / 300 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.01763, allocations: 21.66 kB / 300.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.0206, allocations: 213.7 kB / 300.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.02199, allocations: 289.5 kB / 300.6 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.02252, allocations: 188.3 kB / 300.7 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.02346, allocations: 0.8977 MB / 301.6 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.02372, allocations: 131.4 kB / 301.8 MB, free: 6.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009134/0.02464, allocations: 453.8 kB / 302.2 MB, free: 6.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005222/0.02516, allocations: 301.2 kB / 302.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.501e-05/0.02524, allocations: 55.16 kB / 302.6 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.02572, allocations: 246 kB / 302.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.02588, allocations: 211.2 kB / 303 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.02613, allocations: 248.4 kB / 303.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009126/0.02705, allocations: 0.6588 MB / 303.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.02705, allocations: 0 / 303.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02705, allocations: 1.219 kB / 303.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.02707, allocations: 0 / 303.9 MB, free: 6.035 MB / 266.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.001075/0.02814, allocations: 0.8574 MB / 304.8 MB, free: 5.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.02818, allocations: 13.39 kB / 304.8 MB, free: 5.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.02829, allocations: 89.52 kB / 304.9 MB, free: 5.332 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.0288, allocations: 402.7 kB / 305.3 MB, free: 5.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.0289, allocations: 302.9 kB / 305.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.02895, allocations: 45.84 kB / 305.6 MB, free: 4.699 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.02937, allocations: 473 kB / 306.1 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.02939, allocations: 4.172 kB / 306.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.02941, allocations: 22.12 kB / 306.1 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.02942, allocations: 13.12 kB / 306.1 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.02965, allocations: 176.9 kB / 306.3 MB, free: 4.266 MB / 266.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.001194/0.03084, allocations: 0.8006 MB / 307.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/0.03146, allocations: 430.7 kB / 307.5 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.03171, allocations: 223.1 kB / 307.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.03173, allocations: 8 kB / 307.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.03175, allocations: 39.88 kB / 307.8 MB, free: 3.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.793e-06/0.03175, allocations: 4 kB / 307.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000319/0.03207, allocations: 260.8 kB / 308 MB, free: 2.844 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.401e-05/0.03209, allocations: 55.41 kB / 308.1 MB, free: 2.777 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.03228, allocations: 411.2 kB / 308.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.0323, allocations: 33.7 kB / 308.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.03236, allocations: 237.7 kB / 308.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.03241, allocations: 130.8 kB / 308.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.03248, allocations: 74.14 kB / 308.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.03252, allocations: 362.7 kB / 309.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.063e-05/0.03259, allocations: 63.8 kB / 309.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.03268, allocations: 135.6 kB / 309.5 MB, free: 1.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.03285, allocations: 221.1 kB / 309.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.03285, allocations: 0 / 309.7 MB, free: 1.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002362/0.03309, allocations: 252 kB / 309.9 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.0331, allocations: 7.938 kB / 310 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.03311, allocations: 4 kB / 310 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.03312, allocations: 0 / 310 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.03373, allocations: 228.4 kB / 310.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.03374, allocations: 4 kB / 310.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.03389, allocations: 51.72 kB / 310.2 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.03391, allocations: 19.92 kB / 310.3 MB, free: 500 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.054e-05/0.034, allocations: 136.5 kB / 310.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.03405, allocations: 39.95 kB / 310.4 MB, free: 312 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.03431, allocations: 250.2 kB / 310.7 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.03431, allocations: 4 kB / 310.7 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.03431, allocations: 0 / 310.7 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.03432, allocations: 3.984 kB / 310.7 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.03499, allocations: 0.6088 MB / 311.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.03499, allocations: 0 / 311.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.03558, allocations: 204.2 kB / 311.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.03558, allocations: 4 kB / 311.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.0356, allocations: 11.92 kB / 311.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.03561, allocations: 4 kB / 311.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.03561, allocations: 0 / 311.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.03604, allocations: 464 kB / 312 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.03609, allocations: 55.62 kB / 312 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.03613, allocations: 7.938 kB / 312 MB, free: 14.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.03627, allocations: 19.98 kB / 312 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.03632, allocations: 23.95 kB / 312.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.03634, allocations: 15.98 kB / 312.1 MB, free: 14.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.03649, allocations: 192.7 kB / 312.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03649, allocations: 0 / 312.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004076/0.0369, allocations: 179.7 kB / 312.4 MB, free: 14.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pulmonaryVeinsAndLeftAtrium.volume,pulmonaryArteries.volume,arteries.volume,veins.volume,rightAtrium.volume) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.03707, allocations: 112.3 kB / 312.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002625/0.03734, allocations: 197.7 kB / 312.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.03734, allocations: 8 kB / 312.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.03746, allocations: 116.5 kB / 312.9 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.03782, allocations: 135.3 kB / 313 MB, free: 13.67 MB / 282.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.03956, allocations: 1.179 MB / 314.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.03966, allocations: 157.7 kB / 314.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.03989, allocations: 67.25 kB / 314.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.04015, allocations: 169.2 kB / 314.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.193e-06/0.04016, allocations: 0 / 314.6 MB, free: 12.05 MB / 282.7 MB Notification: Performance of Templates: time 0.01054/0.05069, allocations: 8.01 MB / 322.6 MB, free: 4.219 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.sim & ./Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.985441491007805]