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.0009304/0.0009304, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009491/0.0009491, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.977/0.977, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.0743/0.0743, allocations: 12.76 MB / 273.8 MB, free: 120 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.763e-06/1.763e-06, allocations: 0 / 347.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.29e-05, allocations: 4.703 kB / 347.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003969/0.003992, allocations: 4.835 MB / 352 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.005787, allocations: 1.2 MB / 353.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.005987, allocations: 23.81 kB / 353.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.00657, allocations: 234.5 kB / 353.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.006909, allocations: 281.7 kB / 353.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.00718, allocations: 191.6 kB / 353.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.007729, allocations: 0.8983 MB / 354.8 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.007927, allocations: 125.5 kB / 354.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003448/0.008272, allocations: 451.1 kB / 355.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.008564, allocations: 299.1 kB / 355.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.008626, allocations: 56 kB / 355.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.008924, allocations: 231.8 kB / 355.9 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.009069, allocations: 211.4 kB / 356.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.009224, allocations: 247.4 kB / 356.4 MB, free: 9.547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.009757, allocations: 0.6618 MB / 357 MB, free: 8.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.00976, allocations: 0 / 357 MB, free: 8.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009761, allocations: 0 / 357 MB, free: 8.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.009766, allocations: 0 / 357 MB, free: 8.883 MB / 330.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.0009505/0.01072, allocations: 0.9973 MB / 358 MB, free: 7.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01075, allocations: 15.98 kB / 358 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.01086, allocations: 116.4 kB / 358.1 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.01132, allocations: 444.8 kB / 358.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.01171, allocations: 302.6 kB / 358.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.01176, allocations: 44.38 kB / 358.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.01217, allocations: 456.2 kB / 359.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01219, allocations: 192 / 359.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.01221, allocations: 23.94 kB / 359.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.01222, allocations: 12 kB / 359.4 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.01244, allocations: 210.8 kB / 359.6 MB, free: 6.129 MB / 330.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.001187/0.01363, allocations: 1.04 MB / 360.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.01426, allocations: 410.4 kB / 361 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.01454, allocations: 231.4 kB / 361.3 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.01457, allocations: 11.98 kB / 361.3 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.01459, allocations: 45.39 kB / 361.3 MB, free: 4.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.01459, allocations: 0 / 361.3 MB, free: 4.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004062/0.015, allocations: 335.8 kB / 361.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01503, allocations: 59.34 kB / 361.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.01532, allocations: 494.4 kB / 362.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.01534, allocations: 29.7 kB / 362.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.01549, allocations: 359.1 kB / 362.6 MB, free: 3.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.755e-05/0.01555, allocations: 130.8 kB / 362.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.01564, allocations: 87.8 kB / 362.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.01577, allocations: 0.5468 MB / 363.3 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.03e-05/0.01585, allocations: 60.95 kB / 363.4 MB, free: 2.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.01597, allocations: 154.4 kB / 363.5 MB, free: 2.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.01619, allocations: 245.1 kB / 363.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01619, allocations: 4 kB / 363.8 MB, free: 1.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003292/0.01652, allocations: 328.6 kB / 364.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01653, allocations: 8 kB / 364.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01654, allocations: 0 / 364.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.01655, allocations: 4.219 kB / 364.1 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.01708, allocations: 175.8 kB / 364.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01709, allocations: 4 kB / 364.3 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.01724, allocations: 43.77 kB / 364.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.01726, allocations: 19.98 kB / 364.4 MB, free: 1.176 MB / 330.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 0.0001134/0.01737, allocations: 184.3 kB / 364.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.01744, allocations: 71.66 kB / 364.6 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.01777, allocations: 286.1 kB / 364.9 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01777, allocations: 7.938 kB / 364.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01777, allocations: 0 / 364.9 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01778, allocations: 3.984 kB / 364.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/0.0185, allocations: 0.7441 MB / 365.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0185, allocations: 4 kB / 365.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.019, allocations: 159.8 kB / 365.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.019, allocations: 0 / 365.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.01902, allocations: 11.98 kB / 365.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01902, allocations: 0 / 365.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01902, allocations: 8 kB / 365.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.01973, allocations: 0.5246 MB / 366.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.01977, allocations: 43.61 kB / 366.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.01981, allocations: 12 kB / 366.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.01996, allocations: 23.97 kB / 366.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.02001, allocations: 23.95 kB / 366.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.02002, allocations: 12 kB / 366.5 MB, free: 15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.02019, allocations: 315 kB / 366.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02019, allocations: 0 / 366.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.02054, allocations: 187.7 kB / 366.9 MB, free: 14.51 MB / 346.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.0001663/0.02071, allocations: 135 kB / 367.1 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.02098, allocations: 220.7 kB / 367.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.02098, allocations: 0 / 367.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.02109, allocations: 119.5 kB / 367.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.02145, allocations: 117.8 kB / 367.5 MB, free: 13.91 MB / 346.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02299, allocations: 1.112 MB / 368.6 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.02315, allocations: 278 kB / 368.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.02344, allocations: 206.1 kB / 369.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02344, allocations: 0 / 369.1 MB, free: 12.26 MB / 346.7 MB Notification: Performance of Templates: time 0.006688/0.03013, allocations: 7.537 MB / 376.6 MB, free: 4.762 MB / 346.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 > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.336318727117032]