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.001136/0.001136, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00124/0.00124, allocations: 169 kB / 23.27 MB, free: 1.223 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.008/1.008, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.05383/0.05383, allocations: 12.78 MB / 273 MB, free: 132 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.363e-06/1.363e-06, allocations: 0 / 347.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.629e-05, allocations: 4.844 kB / 347.2 MB, free: 2.023 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003584/0.003601, allocations: 4.835 MB / 352 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.00525, allocations: 1.211 MB / 353.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.005452, allocations: 23.81 kB / 353.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.006031, allocations: 222.6 kB / 353.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.006375, allocations: 281.8 kB / 353.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.00669, allocations: 195.6 kB / 353.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.007277, allocations: 0.8944 MB / 354.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.007475, allocations: 121.5 kB / 354.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003494/0.007824, allocations: 459 kB / 355.4 MB, free: 9.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.008133, allocations: 295.2 kB / 355.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.264e-05/0.008195, allocations: 56 kB / 355.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.008461, allocations: 235.6 kB / 355.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.008607, allocations: 219.4 kB / 356.2 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.00877, allocations: 247.4 kB / 356.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.009283, allocations: 0.6541 MB / 357 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.009284, allocations: 0 / 357 MB, free: 8.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.009285, allocations: 0 / 357 MB, free: 8.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.00929, allocations: 0 / 357 MB, free: 8.086 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.0009502/0.01024, allocations: 1.001 MB / 358.1 MB, free: 7.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.01028, allocations: 11.98 kB / 358.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.01039, allocations: 112.5 kB / 358.2 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.01083, allocations: 444.8 kB / 358.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.01097, allocations: 302.6 kB / 358.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.01102, allocations: 52.38 kB / 359 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.01144, allocations: 452.2 kB / 359.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.01145, allocations: 4.172 kB / 359.4 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.01148, allocations: 23.94 kB / 359.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01149, allocations: 12 kB / 359.4 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.01174, allocations: 206.8 kB / 359.6 MB, free: 5.332 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.001379/0.01312, allocations: 1.048 MB / 360.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.01378, allocations: 398.5 kB / 361.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.01409, allocations: 239.3 kB / 361.3 MB, free: 3.613 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.01411, allocations: 8 kB / 361.3 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.01414, allocations: 45.39 kB / 361.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.473e-06/0.01414, allocations: 0 / 361.4 MB, free: 3.551 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004302/0.01457, allocations: 343.7 kB / 361.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.01459, allocations: 55.41 kB / 361.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.01489, allocations: 490.4 kB / 362.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01492, allocations: 29.7 kB / 362.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.01508, allocations: 359.1 kB / 362.6 MB, free: 2.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.252e-05/0.01516, allocations: 138.8 kB / 362.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.024e-05/0.01524, allocations: 79.8 kB / 362.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01539, allocations: 0.5429 MB / 363.4 MB, free: 1.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.01547, allocations: 64.94 kB / 363.4 MB, free: 1.414 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.0156, allocations: 154.4 kB / 363.6 MB, free: 1.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01584, allocations: 241.1 kB / 363.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01584, allocations: 0 / 363.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003703/0.01621, allocations: 336.6 kB / 364.1 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01623, allocations: 11.92 kB / 364.2 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.01623, allocations: 4 kB / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01624, allocations: 4 kB / 364.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.0168, allocations: 183.9 kB / 364.3 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01681, allocations: 4 kB / 364.3 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01695, allocations: 43.77 kB / 364.4 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.01698, allocations: 15.98 kB / 364.4 MB, free: 376 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.000121/0.0171, allocations: 180.5 kB / 364.6 MB, free: 184 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.01716, allocations: 59.67 kB / 364.6 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.01753, allocations: 298.1 kB / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01753, allocations: 4 kB / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01753, allocations: 0 / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01753, allocations: 0 / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.01828, allocations: 0.7325 MB / 365.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01828, allocations: 0 / 365.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.01881, allocations: 167.8 kB / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.01881, allocations: 0 / 365.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.01883, allocations: 11.98 kB / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01883, allocations: 0 / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01883, allocations: 0 / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.0193, allocations: 0.5324 MB / 366.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.01935, allocations: 51.59 kB / 366.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.01939, allocations: 12 kB / 366.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01953, allocations: 19.98 kB / 366.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01957, allocations: 23.95 kB / 366.5 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.01959, allocations: 16.05 kB / 366.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.01976, allocations: 315 kB / 366.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01976, allocations: 4 kB / 366.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.02007, allocations: 183.7 kB / 367 MB, free: 13.71 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.000155/0.02023, allocations: 131.1 kB / 367.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.02049, allocations: 216.2 kB / 367.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02049, allocations: 0 / 367.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.02062, allocations: 131.9 kB / 367.5 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.0003333/0.02095, allocations: 121.8 kB / 367.6 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.001487/0.02244, allocations: 1.241 MB / 368.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.139e-05/0.02253, allocations: 153.7 kB / 369 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.0227, allocations: 75.23 kB / 369 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.02294, allocations: 202.1 kB / 369.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.02294, allocations: 0 / 369.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Templates: time 0.009413/0.03236, allocations: 7.724 MB / 377 MB, free: 3.797 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 & (cd run_cvode && ../Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_gbode.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_gbode.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_gbode.sim & (cd run_gbode && ../Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_gbode.pipe 2>&1) [Timeout 240] (rm -f Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_ida.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_ida.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_ida.sim & (cd run_ida && ../Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.001017046160996]