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.0006681/0.0006681, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008874/0.001556, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007034/0.0007034, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009134/0.001617, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9277/0.9277, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07941/1.007, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.05685/0.05685, allocations: 12.76 MB / 256.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007877/0.06473, allocations: 4.828 MB / 261.5 MB, free: 13.25 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.473e-06/1.473e-06, allocations: 0 / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.413e-05, allocations: 2.312 kB / 262.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.005003/0.005017, allocations: 4.891 MB / 267.7 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.007262, allocations: 1.246 MB / 268.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.007537, allocations: 23.81 kB / 269 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.008084, allocations: 210.6 kB / 269.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.008594, allocations: 285.7 kB / 269.4 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.008953, allocations: 195.5 kB / 269.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008666/0.00982, allocations: 0.9022 MB / 270.5 MB, free: 4.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.01007, allocations: 134.2 kB / 270.7 MB, free: 4.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006489/0.01072, allocations: 0.4904 MB / 271.2 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.01115, allocations: 303.1 kB / 271.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.01124, allocations: 52 kB / 271.5 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004469/0.01169, allocations: 243.7 kB / 271.7 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.01187, allocations: 175.6 kB / 271.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.01211, allocations: 211.5 kB / 272.1 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.01284, allocations: 0.5879 MB / 272.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.616e-05/0.01285, allocations: 0 / 272.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01285, allocations: 0 / 272.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/0.01287, allocations: 4 kB / 272.7 MB, free: 2.02 MB / 266.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.001433/0.01431, allocations: 1.002 MB / 273.7 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01434, allocations: 12.03 kB / 273.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.01447, allocations: 80.86 kB / 273.8 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.0151, allocations: 395.3 kB / 274.2 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.01528, allocations: 310.6 kB / 274.5 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.01534, allocations: 44.38 kB / 274.5 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1186/0.134, allocations: 461.2 kB / 275 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.134, allocations: 3.188 kB / 275 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.134, allocations: 18.8 kB / 275 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.134, allocations: 10.56 kB / 275 MB, free: 5.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.1343, allocations: 175.9 kB / 275.2 MB, free: 5.34 MB / 266.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.001603/0.1359, allocations: 0.8154 MB / 276 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008369/0.1368, allocations: 415.5 kB / 276.4 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.1372, allocations: 234.1 kB / 276.6 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.1372, allocations: 9.734 kB / 276.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1372, allocations: 41.69 kB / 276.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 2.584e-06/0.1372, allocations: 1.719 kB / 276.7 MB, free: 5.039 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.000462/0.1377, allocations: 253.7 kB / 276.9 MB, free: 5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.1377, allocations: 55.53 kB / 277 MB, free: 4.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.1381, allocations: 420.2 kB / 277.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1381, allocations: 32.64 kB / 277.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1382, allocations: 236.4 kB / 277.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.1383, allocations: 138.6 kB / 277.8 MB, free: 4.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1384, allocations: 79.86 kB / 277.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.1385, allocations: 367.1 kB / 278.2 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1386, allocations: 54.05 kB / 278.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.1387, allocations: 129.3 kB / 278.4 MB, free: 4.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.139, allocations: 223.4 kB / 278.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.139, allocations: 2.844 kB / 278.6 MB, free: 4.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003731/0.1394, allocations: 245.3 kB / 278.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1394, allocations: 5.875 kB / 278.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1394, allocations: 2.047 kB / 278.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1394, allocations: 5.938 kB / 278.9 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.1403, allocations: 242 kB / 279.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1403, allocations: 6.766 kB / 279.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.1405, allocations: 42.88 kB / 279.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1406, allocations: 14.36 kB / 279.2 MB, free: 4.039 MB / 266.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 9.943e-05/0.1407, allocations: 136.5 kB / 279.3 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.156e-05/0.1407, allocations: 40.06 kB / 279.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.1411, allocations: 249.3 kB / 279.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1411, allocations: 4.125 kB / 279.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1411, allocations: 0 / 279.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1411, allocations: 2.766 kB / 279.6 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.142, allocations: 0.6185 MB / 280.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.142, allocations: 1.219 kB / 280.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.1428, allocations: 221.8 kB / 280.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.1428, allocations: 47.86 kB / 280.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1428, allocations: 2.062 kB / 280.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.1429, allocations: 10.44 kB / 280.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1429, allocations: 1.156 kB / 280.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1429, allocations: 0 / 280.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.1434, allocations: 466.7 kB / 281 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.1434, allocations: 9.984 kB / 281 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1436, allocations: 21.56 kB / 281 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1437, allocations: 26.7 kB / 281 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1437, allocations: 10.73 kB / 281 MB, free: 3.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1439, allocations: 188.8 kB / 281.2 MB, free: 3.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1439, allocations: 5.156 kB / 281.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004607/0.1444, allocations: 178.5 kB / 281.4 MB, free: 3.344 MB / 266.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.0001847/0.1446, allocations: 114.9 kB / 281.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1449, allocations: 205 kB / 281.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.1449, allocations: 6.25 kB / 281.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1451, allocations: 125.3 kB / 281.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1455, allocations: 180 kB / 282 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.1608, allocations: 1.129 MB / 283.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.1609, allocations: 150.9 kB / 283.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.1613, allocations: 70.09 kB / 283.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.1616, allocations: 174.2 kB / 283.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of SimCode: time 2.194e-06/0.1616, allocations: 0.5469 kB / 283.5 MB, free: 2.527 MB / 266.7 MB Notification: Performance of Templates: time 0.01133/0.1729, allocations: 8.358 MB / 291.9 MB, free: 15.32 MB / 282.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.7993452614173293]