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.000931/0.000931, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008733/0.001804, allocations: 440 kB / 10.41 MB, free: 284 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.0006749/0.0006749, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009149/0.00159, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9197/0.9197, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09014/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.05961/0.05961, allocations: 12.74 MB / 256.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009604/0.06921, allocations: 4.833 MB / 261.7 MB, free: 13.14 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 2.284e-06/2.284e-06, allocations: 3.984 kB / 263 MB, free: 11.85 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.161e-05, allocations: 2.312 kB / 263 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.004027/0.004049, allocations: 4.892 MB / 267.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.006258, allocations: 1.258 MB / 269.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.006596, allocations: 23.81 kB / 269.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.007102, allocations: 210.6 kB / 269.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.007559, allocations: 285.7 kB / 269.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.007878, allocations: 187.6 kB / 269.9 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008771/0.008755, allocations: 0.9023 MB / 270.8 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.008974, allocations: 134.1 kB / 270.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.009479, allocations: 0.4943 MB / 271.4 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.009823, allocations: 299.1 kB / 271.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.009887, allocations: 56 kB / 271.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003711/0.01026, allocations: 243.7 kB / 272 MB, free: 2.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.0104, allocations: 175.6 kB / 272.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.01056, allocations: 207.6 kB / 272.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007184/0.01128, allocations: 0.584 MB / 272.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.0113, allocations: 0 / 272.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.0113, allocations: 0 / 272.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.01132, allocations: 3.938 kB / 272.9 MB, free: 1.879 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.001295/0.01262, allocations: 1.002 MB / 273.9 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.01266, allocations: 8.031 kB / 273.9 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01276, allocations: 80.88 kB / 274 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.01326, allocations: 395.3 kB / 274.4 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1238/0.1371, allocations: 302.2 kB / 274.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.1373, allocations: 44.38 kB / 274.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.1378, allocations: 467.1 kB / 275.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1378, allocations: 2.75 kB / 275.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1379, allocations: 17.56 kB / 275.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1379, allocations: 10.75 kB / 275.2 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.1381, allocations: 181.2 kB / 275.4 MB, free: 8.594 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.001421/0.1395, allocations: 0.8122 MB / 276.2 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007525/0.1403, allocations: 423.5 kB / 276.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.1406, allocations: 229.3 kB / 276.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1407, allocations: 11.91 kB / 276.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1407, allocations: 34.64 kB / 276.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 3.998e-06/0.1407, allocations: 0.7188 kB / 276.9 MB, free: 8.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0004534/0.1412, allocations: 266.6 kB / 277.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.1412, allocations: 56.59 kB / 277.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.1416, allocations: 408.5 kB / 277.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.1416, allocations: 32.02 kB / 277.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1417, allocations: 243.7 kB / 277.9 MB, free: 7.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.1418, allocations: 133.5 kB / 278 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.1419, allocations: 76.91 kB / 278.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.142, allocations: 363.4 kB / 278.4 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.1421, allocations: 58.08 kB / 278.5 MB, free: 7.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1422, allocations: 130.5 kB / 278.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.1425, allocations: 225.2 kB / 278.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1425, allocations: 1.156 kB / 278.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003264/0.1428, allocations: 250.7 kB / 279.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1428, allocations: 7.016 kB / 279.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1428, allocations: 6.797 kB / 279.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1428, allocations: 3.344 kB / 279.1 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007561/0.1436, allocations: 239.5 kB / 279.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1436, allocations: 3.953 kB / 279.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.1438, allocations: 47.84 kB / 279.4 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1438, allocations: 15.2 kB / 279.4 MB, free: 7.301 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 0.0001232/0.1439, allocations: 137.5 kB / 279.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.144, allocations: 44.59 kB / 279.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.1444, allocations: 246.9 kB / 279.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1444, allocations: 4.234 kB / 279.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1444, allocations: 1.281 kB / 279.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.1444, allocations: 2.016 kB / 279.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.1452, allocations: 0.6158 MB / 280.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1452, allocations: 0 / 280.5 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/0.1459, allocations: 216.4 kB / 280.7 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.146, allocations: 45.67 kB / 280.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.146, allocations: 2.25 kB / 280.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.146, allocations: 8.656 kB / 280.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.146, allocations: 2.953 kB / 280.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.146, allocations: 0 / 280.7 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.1465, allocations: 469 kB / 281.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.1465, allocations: 6.812 kB / 281.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.1467, allocations: 23.98 kB / 281.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.1467, allocations: 24.64 kB / 281.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1468, allocations: 7.562 kB / 281.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.147, allocations: 197.4 kB / 281.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.147, allocations: 0 / 281.4 MB, free: 6.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.1474, allocations: 180.4 kB / 281.6 MB, free: 6.609 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.0002177/0.1476, allocations: 114.4 kB / 281.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003476/0.148, allocations: 211.6 kB / 281.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.108e-05/0.148, allocations: 7.031 kB / 281.9 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1482, allocations: 157.4 kB / 282.1 MB, free: 6.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.1488, allocations: 1.08 MB / 283.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.012/0.1608, allocations: 1.131 MB / 284.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.1609, allocations: 151.6 kB / 284.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003669/0.1613, allocations: 73.16 kB / 284.5 MB, free: 4.742 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.1616, allocations: 171.1 kB / 284.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1616, allocations: 0 / 284.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of Templates: time 0.01163/0.1732, allocations: 8.379 MB / 293.1 MB, free: 0.5117 MB / 266.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.677777100354433]