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.001037/0.001037, 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.001095/0.001095, 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.05/1.05, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.0619/0.0619, allocations: 12.76 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.693e-06/1.693e-06, allocations: 0 / 347.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.698e-05, allocations: 2.312 kB / 347.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.01162/0.01165, allocations: 4.834 MB / 352 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005491/0.01714, allocations: 1.211 MB / 353.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004946/0.01763, allocations: 19.81 kB / 353.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007123/0.01834, allocations: 226.5 kB / 353.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005386/0.01888, allocations: 285.8 kB / 353.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.01927, allocations: 191.6 kB / 353.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.02358, allocations: 0.8944 MB / 354.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.02384, allocations: 125.5 kB / 354.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.02438, allocations: 459 kB / 355.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.02505, allocations: 299.2 kB / 355.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.02513, allocations: 52 kB / 355.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003574/0.0287, allocations: 231.7 kB / 355.9 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002318/0.02894, allocations: 215.4 kB / 356.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.02922, allocations: 255.4 kB / 356.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009361/0.03016, allocations: 0.6579 MB / 357 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.03016, allocations: 0 / 357 MB, free: 8.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03016, allocations: 4 kB / 357 MB, free: 8.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.03017, allocations: 0 / 357 MB, free: 8.074 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.001385/0.03156, allocations: 0.9894 MB / 358 MB, free: 7.047 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.03161, allocations: 15.98 kB / 358.1 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.03176, allocations: 116.5 kB / 358.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006455/0.03241, allocations: 444.8 kB / 358.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.03258, allocations: 306.6 kB / 358.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.486e-05/0.03263, allocations: 44.36 kB / 358.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.03311, allocations: 460.2 kB / 359.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.03312, allocations: 192 / 359.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.03315, allocations: 23.94 kB / 359.4 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.03316, allocations: 8 kB / 359.4 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.03341, allocations: 202.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.001335/0.03474, allocations: 1.048 MB / 360.7 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.03543, allocations: 406.4 kB / 361.1 MB, free: 3.844 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.03574, allocations: 238.4 kB / 361.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.03577, allocations: 15.98 kB / 361.3 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.0358, allocations: 37.39 kB / 361.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.903e-06/0.0358, allocations: 0 / 361.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004498/0.03625, allocations: 331.8 kB / 361.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.03628, allocations: 59.39 kB / 361.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.03661, allocations: 498.4 kB / 362.2 MB, free: 2.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.03663, allocations: 33.7 kB / 362.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.03681, allocations: 359.1 kB / 362.6 MB, free: 2.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.03689, allocations: 138.8 kB / 362.7 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.03699, allocations: 79.81 kB / 362.8 MB, free: 2.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.03717, allocations: 0.5507 MB / 363.4 MB, free: 1.461 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.03727, allocations: 56.95 kB / 363.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.03742, allocations: 154.4 kB / 363.6 MB, free: 1.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.03768, allocations: 241.1 kB / 363.8 MB, free: 0.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.03769, allocations: 4 kB / 363.8 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003979/0.03808, allocations: 336.5 kB / 364.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.03811, allocations: 7.031 kB / 364.2 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.03811, allocations: 8 kB / 364.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.03813, allocations: 0 / 364.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.03872, allocations: 179.8 kB / 364.3 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.03872, allocations: 4 kB / 364.3 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.03889, allocations: 43.77 kB / 364.4 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.03891, 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.0001331/0.03904, allocations: 184.4 kB / 364.6 MB, free: 180 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.03911, allocations: 59.67 kB / 364.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003851/0.0395, allocations: 298.1 kB / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.0395, allocations: 4 kB / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.0395, allocations: 0 / 364.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.03951, allocations: 7.984 kB / 364.9 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008443/0.04035, allocations: 0.7403 MB / 365.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.04036, allocations: 0 / 365.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.04087, allocations: 151.8 kB / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.04088, allocations: 4 kB / 365.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.0409, allocations: 11.98 kB / 365.8 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.0409, allocations: 4 kB / 365.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.0409, allocations: 0 / 365.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.0414, allocations: 0.5208 MB / 366.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.04146, allocations: 59.58 kB / 366.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.04149, allocations: 4 kB / 366.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.04164, allocations: 27.92 kB / 366.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.0417, allocations: 27.95 kB / 366.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.04171, allocations: 11.98 kB / 366.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002089/0.04192, allocations: 315 kB / 366.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04192, allocations: 0 / 366.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004516/0.04238, 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.0001989/0.04257, allocations: 134 kB / 367.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.04289, allocations: 220.3 kB / 367.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.04289, allocations: 0 / 367.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.04303, allocations: 123.5 kB / 367.4 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.000436/0.04347, allocations: 126.3 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.002003/0.04547, allocations: 1.249 MB / 368.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.983e-05/0.04557, allocations: 153.7 kB / 369 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.0458, allocations: 71.23 kB / 369 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.04607, allocations: 198.1 kB / 369.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.954e-06/0.04607, allocations: 0 / 369.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of Templates: time 0.01135/0.05742, allocations: 7.717 MB / 377 MB, free: 3.789 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: 3.0855822418816388]