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.0009575/0.0009575, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001507/0.001507, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.06376/0.06376, allocations: 12.76 MB / 272.7 MB, free: 268 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.623e-06/1.623e-06, allocations: 0 / 346.7 MB, free: 1.238 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.982e-05, allocations: 4.562 kB / 346.7 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.005924/0.005954, allocations: 4.874 MB / 351.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.008426, allocations: 1.219 MB / 352.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.008741, allocations: 19.81 kB / 352.8 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.009488, allocations: 226.5 kB / 353 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.01005, allocations: 281.7 kB / 353.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.01046, allocations: 203.6 kB / 353.5 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009382/0.0114, allocations: 0.8869 MB / 354.4 MB, free: 9.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.01167, allocations: 121.5 kB / 354.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006328/0.01231, allocations: 459.1 kB / 355 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.01283, allocations: 299.1 kB / 355.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.01293, allocations: 56 kB / 355.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.01334, allocations: 235.7 kB / 355.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.01355, allocations: 215.4 kB / 355.7 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.0138, allocations: 247.4 kB / 356 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.01463, allocations: 0.658 MB / 356.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01463, allocations: 0 / 356.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01463, allocations: 0 / 356.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.01465, allocations: 0 / 356.6 MB, free: 7.238 MB / 282.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.001389/0.01604, allocations: 0.9973 MB / 357.6 MB, free: 6.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.01608, allocations: 15.98 kB / 357.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.01625, allocations: 112.5 kB / 357.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.01694, allocations: 468.8 kB / 358.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.01712, allocations: 302.6 kB / 358.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.98e-05/0.01719, allocations: 48.33 kB / 358.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.01789, allocations: 0.4923 MB / 359.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.01791, allocations: 192 / 359.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.01795, allocations: 19.94 kB / 359.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.01796, allocations: 12 kB / 359.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.01843, allocations: 270.8 kB / 359.4 MB, free: 4.359 MB / 282.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.001869/0.0203, allocations: 1.129 MB / 360.5 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.02131, allocations: 457.5 kB / 360.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004805/0.02179, allocations: 267.5 kB / 361.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.02183, allocations: 8 kB / 361.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.02186, allocations: 41.39 kB / 361.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 2.665e-06/0.02186, allocations: 0 / 361.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007116/0.02257, allocations: 407.9 kB / 361.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.02261, allocations: 59.41 kB / 361.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.02308, allocations: 0.5104 MB / 362.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.02311, allocations: 29.7 kB / 362.2 MB, free: 1.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.02331, allocations: 355.2 kB / 362.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.664e-05/0.0234, allocations: 138.8 kB / 362.7 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.02352, allocations: 79.83 kB / 362.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.02369, allocations: 0.5391 MB / 363.3 MB, free: 256 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.02385, allocations: 88.94 kB / 363.4 MB, free: 168 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.02408, allocations: 178.4 kB / 363.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.02447, allocations: 289 kB / 363.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.02448, allocations: 0 / 363.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005635/0.02504, allocations: 388.6 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.02506, allocations: 4 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02507, allocations: 4 kB / 364.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.02509, allocations: 4 kB / 364.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.02586, allocations: 180 kB / 364.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.02587, allocations: 4 kB / 364.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.02609, allocations: 43.72 kB / 364.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02612, allocations: 19.98 kB / 364.5 MB, free: 15 MB / 298.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.0001426/0.02626, allocations: 180.4 kB / 364.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.02635, allocations: 67.61 kB / 364.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005547/0.02691, allocations: 342.2 kB / 365.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.02691, allocations: 4 kB / 365.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.02692, allocations: 4 kB / 365.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.02693, allocations: 3.984 kB / 365.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.02809, allocations: 0.8607 MB / 366 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0281, allocations: 4 kB / 366 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.02881, allocations: 155.8 kB / 366.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.02881, allocations: 3.984 kB / 366.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.02884, allocations: 11.98 kB / 366.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.02884, allocations: 4 kB / 366.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.02884, allocations: 0 / 366.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.02959, allocations: 0.599 MB / 366.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.02966, allocations: 43.61 kB / 366.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.02971, allocations: 8 kB / 366.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.02992, allocations: 27.91 kB / 366.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.02999, allocations: 27.89 kB / 366.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.03001, allocations: 15.98 kB / 366.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003031/0.03032, allocations: 347 kB / 367.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.03032, allocations: 4 kB / 367.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005253/0.03084, allocations: 179.7 kB / 367.4 MB, free: 12.05 MB / 298.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.0002288/0.03107, allocations: 131.2 kB / 367.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.03155, allocations: 260.3 kB / 367.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.03155, allocations: 0 / 367.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.03176, allocations: 151.9 kB / 367.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.0323, allocations: 131 kB / 368 MB, free: 11.38 MB / 298.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.03489, allocations: 1.269 MB / 369.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.03501, allocations: 150 kB / 369.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.03526, allocations: 67.25 kB / 369.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.03537, allocations: 44.48 kB / 369.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.03537, allocations: 3.938 kB / 369.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of Templates: time 0.01264/0.04802, allocations: 7.556 MB / 377.1 MB, free: 2.344 MB / 298.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 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.995366862975061]