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.0009239/0.0009239, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009484/0.0009484, allocations: 177 kB / 23.36 MB, free: 1.125 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.9716/0.9716, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.05948/0.05948, allocations: 12.75 MB / 273 MB, free: 160 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.573e-06/1.573e-06, allocations: 0 / 293.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.924e-05, allocations: 7.281 kB / 293.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003984/0.004004, allocations: 4.833 MB / 298.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.006151, allocations: 1.244 MB / 300 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.006413, allocations: 24.59 kB / 300 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.007015, allocations: 215.3 kB / 300.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.007459, allocations: 293.8 kB / 300.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.007795, allocations: 194.8 kB / 300.7 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006937/0.008488, allocations: 0.8933 MB / 301.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.008692, allocations: 131.3 kB / 301.7 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005253/0.009218, allocations: 453.8 kB / 302.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.009604, allocations: 302.5 kB / 302.4 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.009688, allocations: 55 kB / 302.5 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.01002, allocations: 227.1 kB / 302.7 MB, free: 6.688 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.01018, allocations: 215.6 kB / 302.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.0104, allocations: 251.8 kB / 303.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007063/0.0111, allocations: 0.6518 MB / 303.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.0111, allocations: 8.969 kB / 303.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01111, allocations: 0 / 303.8 MB, free: 6.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.01112, allocations: 0 / 303.8 MB, free: 6.137 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.0009847/0.0121, allocations: 0.8607 MB / 304.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.01213, allocations: 13.55 kB / 304.7 MB, free: 5.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.01224, allocations: 79.22 kB / 304.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.0127, allocations: 406.2 kB / 305.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.01279, allocations: 297.8 kB / 305.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.01285, allocations: 51.05 kB / 305.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.01325, allocations: 464.8 kB / 306 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01327, allocations: 192 / 306 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.01329, allocations: 24.5 kB / 306 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.0133, allocations: 10.28 kB / 306 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.01352, allocations: 173.4 kB / 306.2 MB, free: 4.387 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.001113/0.01463, allocations: 0.8133 MB / 307 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.01519, allocations: 424.2 kB / 307.4 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.01542, allocations: 231.9 kB / 307.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.01545, allocations: 11.98 kB / 307.6 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.01547, allocations: 34.56 kB / 307.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.913e-06/0.01547, allocations: 0 / 307.7 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003063/0.01577, allocations: 256.2 kB / 307.9 MB, free: 2.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.01579, allocations: 59.34 kB / 308 MB, free: 2.891 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01598, allocations: 411.2 kB / 308.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.016, allocations: 37.64 kB / 308.4 MB, free: 2.434 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.01606, allocations: 237.7 kB / 308.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.01611, allocations: 134.8 kB / 308.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.01617, allocations: 78.14 kB / 308.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.227e-05/0.01621, allocations: 362.7 kB / 309.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.01628, allocations: 51.8 kB / 309.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.01636, allocations: 123.8 kB / 309.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.01653, allocations: 229.1 kB / 309.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01653, allocations: 0 / 309.6 MB, free: 1.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002175/0.01675, allocations: 248.2 kB / 309.9 MB, free: 0.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.01676, allocations: 8 kB / 309.9 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01677, allocations: 4 kB / 309.9 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01678, allocations: 4 kB / 309.9 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.01726, allocations: 175.8 kB / 310 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01727, allocations: 4.625 kB / 310 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.01741, allocations: 51.72 kB / 310.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.01742, allocations: 15.98 kB / 310.1 MB, free: 0.6602 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 8.139e-05/0.01751, allocations: 144.4 kB / 310.2 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.01755, allocations: 39.95 kB / 310.3 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.0178, allocations: 246.2 kB / 310.5 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.0178, allocations: 4 kB / 310.5 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.0178, allocations: 4 kB / 310.5 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.0178, allocations: 0 / 310.5 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.01846, allocations: 0.6165 MB / 311.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01846, allocations: 0 / 311.2 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.01898, allocations: 151.8 kB / 311.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01898, allocations: 4 kB / 311.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.019, allocations: 11.98 kB / 311.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.019, allocations: 0 / 311.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.019, allocations: 0 / 311.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.01942, allocations: 487.7 kB / 311.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.01946, allocations: 39.66 kB / 311.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.0195, allocations: 8 kB / 311.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.01964, allocations: 23.98 kB / 311.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.01969, allocations: 23.95 kB / 311.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.0197, allocations: 11.98 kB / 311.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.01986, allocations: 192.6 kB / 312.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01986, allocations: 0 / 312.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.02026, allocations: 179.7 kB / 312.3 MB, free: 14.44 MB / 282.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.0001778/0.02043, allocations: 112.3 kB / 312.4 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.02069, allocations: 205.4 kB / 312.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.0207, allocations: 4 kB / 312.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.02081, allocations: 116.5 kB / 312.7 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.02115, allocations: 127.7 kB / 312.8 MB, free: 13.88 MB / 282.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.02277, allocations: 1.179 MB / 314 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.294e-05/0.02287, allocations: 149.7 kB / 314.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.02305, allocations: 67.25 kB / 314.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.02328, allocations: 165.2 kB / 314.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.9e-07/0.02328, allocations: 0 / 314.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of Templates: time 0.009781/0.03306, allocations: 7.714 MB / 322.1 MB, free: 4.734 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.8393651391379535]