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.0009932/0.0009932, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001151/0.001151, allocations: 174.3 kB / 23.21 MB, free: 1.328 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.9584/0.9584, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.06068/0.06068, allocations: 12.74 MB / 272.7 MB, free: 0.4922 MB / 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: 3.938 kB / 403.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.599e-05/2.768e-05, allocations: 6.281 kB / 403.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003968/0.003996, allocations: 4.391 MB / 407.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.006057, allocations: 1.199 MB / 408.7 MB, free: 3.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003203/0.006378, allocations: 19.81 kB / 408.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000704/0.007082, allocations: 218.6 kB / 408.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.00754, allocations: 285.7 kB / 409.2 MB, free: 2.754 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.007899, allocations: 199.6 kB / 409.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.008705, allocations: 0.8905 MB / 410.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.00897, allocations: 121.5 kB / 410.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.009499, allocations: 455.1 kB / 410.8 MB, free: 1.098 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003367/0.009835, allocations: 295.1 kB / 411.1 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.009905, allocations: 60 kB / 411.2 MB, free: 0.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.01052, allocations: 235.7 kB / 411.4 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.01068, allocations: 215.4 kB / 411.6 MB, free: 316 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.01088, allocations: 251.4 kB / 411.9 MB, free: 64 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1359/0.1468, allocations: 0.8421 MB / 412.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1468, allocations: 0 / 412.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1468, allocations: 0 / 412.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1468, allocations: 1.219 kB / 412.7 MB, free: 15.75 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.001224/0.148, allocations: 0.9019 MB / 413.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1481, allocations: 12.95 kB / 413.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1482, allocations: 77.83 kB / 413.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.1488, allocations: 481.9 kB / 414.2 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1489, allocations: 299.5 kB / 414.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1489, allocations: 43.19 kB / 414.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.1496, allocations: 0.6762 MB / 415.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1496, allocations: 4.328 kB / 415.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.1496, allocations: 19.28 kB / 415.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.1496, allocations: 10.53 kB / 415.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.1504, allocations: 0.6401 MB / 415.9 MB, free: 14.46 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.00165/0.152, allocations: 1.231 MB / 417.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1532, allocations: 0.7422 MB / 417.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.1538, allocations: 438.6 kB / 418.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1538, allocations: 9.953 kB / 418.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1538, allocations: 40.94 kB / 418.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/0.1538, allocations: 0 / 418.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001104/0.1549, allocations: 0.8777 MB / 419.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1549, allocations: 62.98 kB / 419.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/0.1555, allocations: 0.5562 MB / 419.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.1555, allocations: 36.23 kB / 419.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1556, allocations: 303.2 kB / 420.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.1557, allocations: 131.5 kB / 420.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.1558, allocations: 79.42 kB / 420.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.1558, allocations: 363.5 kB / 420.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.1562, allocations: 266.5 kB / 420.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.1565, allocations: 335.7 kB / 421.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.1572, allocations: 0.6027 MB / 421.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1572, allocations: 1.125 kB / 421.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008327/0.158, allocations: 0.6984 MB / 422.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.158, allocations: 6.375 kB / 422.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.158, allocations: 6.031 kB / 422.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.158, allocations: 8.047 kB / 422.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.1587, allocations: 182.8 kB / 422.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1587, allocations: 4.156 kB / 422.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.1589, allocations: 49.77 kB / 422.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1589, allocations: 23.17 kB / 422.9 MB, free: 12.18 MB / 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.0001683/0.1591, allocations: 214.5 kB / 423.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.1591, allocations: 53.27 kB / 423.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007887/0.1599, allocations: 0.6671 MB / 423.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1599, allocations: 4.594 kB / 423.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1599, allocations: 0.75 kB / 423.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1599, allocations: 1.359 kB / 423.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.1612, allocations: 1.213 MB / 425 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1612, allocations: 0 / 425 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.1618, allocations: 164.1 kB / 425.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1618, allocations: 2.031 kB / 425.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.1618, allocations: 10.75 kB / 425.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1618, allocations: 2.172 kB / 425.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1618, allocations: 0 / 425.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.163, allocations: 1.14 MB / 426.3 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.163e-05/0.1631, allocations: 47.08 kB / 426.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.426e-05/0.1631, allocations: 15.39 kB / 426.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1633, allocations: 25.91 kB / 426.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.1634, allocations: 26.59 kB / 426.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.1634, allocations: 15.16 kB / 426.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003234/0.1637, allocations: 412 kB / 426.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1637, allocations: 0 / 426.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000492/0.1642, allocations: 185.3 kB / 427 MB, free: 10.64 MB / 330.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.0001972/0.1644, allocations: 137 kB / 427.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007498/0.1652, allocations: 0.5896 MB / 427.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1652, allocations: 1.25 kB / 427.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.1655, allocations: 306.1 kB / 428.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1659, allocations: 114.7 kB / 428.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1673, allocations: 1.243 MB / 429.4 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.1675, allocations: 279.5 kB / 429.7 MB, free: 9.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1676, allocations: 50.16 kB / 429.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1676, allocations: 0 / 429.7 MB, free: 9.535 MB / 330.7 MB Notification: Performance of Templates: time 0.007522/0.1752, allocations: 7.531 MB / 437.3 MB, free: 5.441 MB / 330.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 > Bodylight_Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.259450070094317]