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.0009933/0.0009933, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009587/0.0009587, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9386/0.9386, 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.0606/0.0606, allocations: 12.76 MB / 272.7 MB, free: 272 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 2.104e-06/2.104e-06, allocations: 0 / 346.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.456e-05, allocations: 2.312 kB / 346.7 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.004682/0.004716, allocations: 4.888 MB / 351.6 MB, free: 12.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.007226, allocations: 1.211 MB / 352.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.007678, allocations: 19.81 kB / 352.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000831/0.008509, allocations: 226.5 kB / 353 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.009155, allocations: 285.7 kB / 353.3 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.009608, allocations: 195.6 kB / 353.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.01063, allocations: 0.8908 MB / 354.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.01094, allocations: 125.5 kB / 354.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007887/0.01173, allocations: 455.1 kB / 355 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.01222, allocations: 303.1 kB / 355.3 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.305e-05/0.01231, allocations: 52 kB / 355.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.01276, allocations: 231.7 kB / 355.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.01296, allocations: 219.4 kB / 355.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.01321, allocations: 251.4 kB / 356 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00097/0.01418, allocations: 0.6618 MB / 356.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.01418, allocations: 0 / 356.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.01419, allocations: 0 / 356.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.01421, allocations: 0 / 356.7 MB, free: 7.234 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.001512/0.01572, allocations: 0.9973 MB / 357.7 MB, free: 6.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.01577, allocations: 11.98 kB / 357.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.01594, allocations: 112.5 kB / 357.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007637/0.01671, allocations: 468.8 kB / 358.2 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.01692, allocations: 302.6 kB / 358.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.701e-05/0.017, allocations: 48.33 kB / 358.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.01767, allocations: 0.4923 MB / 359.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.01769, allocations: 192 / 359.1 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.01772, allocations: 19.94 kB / 359.1 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.01773, allocations: 12 kB / 359.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.01812, allocations: 265.8 kB / 359.4 MB, free: 4.363 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.001768/0.01989, allocations: 1.129 MB / 360.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.02081, allocations: 458.6 kB / 360.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004246/0.02123, allocations: 263.5 kB / 361.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.02127, allocations: 15.98 kB / 361.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.0213, allocations: 37.39 kB / 361.2 MB, free: 2.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.537e-06/0.02131, allocations: 4 kB / 361.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006229/0.02193, allocations: 407.9 kB / 361.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.02197, allocations: 55.41 kB / 361.7 MB, free: 1.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.02236, allocations: 0.5065 MB / 362.2 MB, free: 1.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.02239, allocations: 33.7 kB / 362.2 MB, free: 1.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.02258, allocations: 363.1 kB / 362.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.02266, allocations: 126.9 kB / 362.7 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.02275, allocations: 79.83 kB / 362.8 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.02293, allocations: 0.543 MB / 363.3 MB, free: 260 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.02309, allocations: 84.94 kB / 363.4 MB, free: 176 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.02329, allocations: 178.4 kB / 363.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.02362, allocations: 296.9 kB / 363.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.02363, allocations: 0 / 363.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005121/0.02414, allocations: 380.6 kB / 364.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.02416, allocations: 8 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.02417, allocations: 0 / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.02418, allocations: 4 kB / 364.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.02481, allocations: 184 kB / 364.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.02481, allocations: 4 kB / 364.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.02503, allocations: 47.72 kB / 364.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.02505, allocations: 15.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.0001379/0.02519, allocations: 180.4 kB / 364.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.02527, allocations: 75.61 kB / 364.8 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.02574, allocations: 342.2 kB / 365.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.02575, allocations: 4 kB / 365.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.02575, allocations: 0 / 365.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.02576, allocations: 7.969 kB / 365.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.02681, allocations: 0.8646 MB / 366 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02681, allocations: 0 / 366 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.02739, allocations: 159.8 kB / 366.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.0274, allocations: 0 / 366.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.02742, allocations: 11.98 kB / 366.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.02743, allocations: 4 kB / 366.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.02743, allocations: 0 / 366.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.0281, allocations: 0.5951 MB / 366.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.14e-05/0.02818, allocations: 43.61 kB / 366.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.02823, allocations: 12 kB / 366.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.0284, allocations: 27.91 kB / 366.8 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.02848, allocations: 27.89 kB / 366.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.0285, allocations: 11.98 kB / 366.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002572/0.02876, allocations: 351 kB / 367.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02876, allocations: 0 / 367.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.02921, allocations: 175.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.0002145/0.02943, allocations: 131.2 kB / 367.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.02985, allocations: 264.3 kB / 367.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.02985, allocations: 0 / 367.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.03003, 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.0004477/0.03048, allocations: 127.5 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.002052/0.03253, 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.0001187/0.03265, allocations: 150 kB / 369.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002366/0.03288, allocations: 75.25 kB / 369.5 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.899e-05/0.03298, allocations: 44.48 kB / 369.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of SimCode: time 1.893e-06/0.03299, allocations: 3.938 kB / 369.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01042/0.04341, allocations: 7.559 MB / 377.1 MB, free: 2.336 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.9248315589502454]