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.0009752/0.0009752, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.001147/0.001147, allocations: 169 kB / 24.06 MB, free: 448 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.9545/0.9545, allocations: 177.1 MB / 204.5 MB, free: 5.172 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.0533/0.0533, allocations: 12.75 MB / 273.8 MB, free: 16 MB / 266.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.363e-06/1.363e-06, allocations: 0 / 347.9 MB, free: 2.012 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.829e-05, allocations: 2.312 kB / 347.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.005361/0.005379, allocations: 4.827 MB / 352.8 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.007458, allocations: 1.215 MB / 354 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.007647, allocations: 23.81 kB / 354 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.0082, allocations: 222.5 kB / 354.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.008505, allocations: 285.8 kB / 354.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.008745, allocations: 191.6 kB / 354.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005599/0.009304, allocations: 0.8944 MB / 355.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.0095, allocations: 129.5 kB / 355.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.009846, allocations: 455 kB / 356.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.01014, allocations: 295.2 kB / 356.4 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.856e-05/0.0102, allocations: 56 kB / 356.5 MB, free: 9.414 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.01045, allocations: 227.7 kB / 356.7 MB, free: 9.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.0106, allocations: 219.3 kB / 356.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.01077, allocations: 247.4 kB / 357.2 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.01128, allocations: 0.6618 MB / 357.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01128, allocations: 0 / 357.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01128, allocations: 0 / 357.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.01129, allocations: 0 / 357.8 MB, free: 8.07 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.0009477/0.01223, allocations: 0.9972 MB / 358.8 MB, free: 7.035 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.01226, allocations: 11.98 kB / 358.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.01238, allocations: 120.5 kB / 359 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.0128, allocations: 440.8 kB / 359.4 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.01293, allocations: 302.6 kB / 359.7 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.01298, allocations: 44.38 kB / 359.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.01339, allocations: 456.2 kB / 360.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01341, allocations: 192 / 360.2 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.01344, allocations: 23.94 kB / 360.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.01344, allocations: 12 kB / 360.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.01368, allocations: 206.8 kB / 360.4 MB, free: 5.324 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.001177/0.01486, allocations: 1.048 MB / 361.5 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.01552, allocations: 413 kB / 361.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.01582, allocations: 234.2 kB / 362.1 MB, free: 3.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.01584, allocations: 11.98 kB / 362.1 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.01587, allocations: 45.39 kB / 362.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.353e-06/0.01587, allocations: 0 / 362.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004272/0.0163, allocations: 335.7 kB / 362.5 MB, free: 3.203 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.01632, allocations: 55.41 kB / 362.5 MB, free: 3.137 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.01661, allocations: 494.4 kB / 363 MB, free: 2.637 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01664, allocations: 29.7 kB / 363 MB, free: 2.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.01681, allocations: 363.1 kB / 363.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.01692, allocations: 130.8 kB / 363.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01702, allocations: 87.8 kB / 363.6 MB, free: 2.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.01715, allocations: 0.5468 MB / 364.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.01724, allocations: 60.89 kB / 364.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.01737, allocations: 158.4 kB / 364.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.01759, allocations: 237.1 kB / 364.6 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01759, allocations: 4 kB / 364.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000407/0.018, allocations: 328.6 kB / 364.9 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01801, allocations: 8 kB / 364.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01802, allocations: 0 / 364.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01803, allocations: 8.219 kB / 364.9 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.01861, allocations: 175.8 kB / 365.1 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01861, allocations: 7.938 kB / 365.1 MB, free: 432 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.01877, allocations: 39.77 kB / 365.2 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.01879, allocations: 19.98 kB / 365.2 MB, free: 372 kB / 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.0001222/0.01891, allocations: 180.5 kB / 365.4 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.01898, allocations: 63.67 kB / 365.4 MB, free: 116 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.01934, allocations: 290.2 kB / 365.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.01935, allocations: 4 kB / 365.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01935, allocations: 0 / 365.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01936, allocations: 3.984 kB / 365.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007515/0.02011, allocations: 0.7441 MB / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02011, allocations: 0 / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.02064, allocations: 159.8 kB / 366.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.02064, allocations: 0 / 366.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.02066, allocations: 11.98 kB / 366.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02066, allocations: 0 / 366.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.02066, allocations: 8 kB / 366.6 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.02115, allocations: 0.5285 MB / 367.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.02119, allocations: 47.61 kB / 367.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.02123, allocations: 8 kB / 367.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.02139, allocations: 23.97 kB / 367.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.02144, allocations: 31.94 kB / 367.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.02146, allocations: 12 kB / 367.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.02164, allocations: 315 kB / 367.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02164, allocations: 3.938 kB / 367.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.02199, allocations: 187.7 kB / 367.8 MB, free: 13.7 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.0001654/0.02216, allocations: 127.1 kB / 367.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.02243, allocations: 216.7 kB / 368.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02243, allocations: 4 kB / 368.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.02255, allocations: 119.5 kB / 368.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.02292, allocations: 121.8 kB / 368.3 MB, free: 13.1 MB / 346.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.02453, allocations: 1.249 MB / 369.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.02462, allocations: 165.7 kB / 369.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.02481, allocations: 59.27 kB / 369.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.02506, allocations: 202.1 kB / 370 MB, free: 11.38 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02506, allocations: 0 / 370 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Templates: time 0.009348/0.03441, allocations: 7.867 MB / 377.9 MB, free: 3.613 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9122763932682574]