Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.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.0007422/0.0007422, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001815, 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.000722/0.000722, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000956/0.001678, 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 1.006/1.006, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08718/1.093, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.0686/0.0686, allocations: 12.75 MB / 256.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01445/0.08305, allocations: 4.828 MB / 261.5 MB, free: 13.26 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.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") translateModel(Bodylight.Hydraulic.Examples.MinimalCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.96e-05, allocations: 2.312 kB / 262.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Hydraulic.Examples.MinimalCirculation): time 0.002982/0.003002, allocations: 2.859 MB / 265.6 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000864/0.003866, allocations: 0.6815 MB / 266.3 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.003976, allocations: 7.938 kB / 266.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.614e-05/0.004062, allocations: 43.58 kB / 266.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.004198, allocations: 87.19 kB / 266.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.004336, allocations: 75.77 kB / 266.5 MB, free: 8.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.004599, allocations: 318.4 kB / 266.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.004715, allocations: 34.55 kB / 266.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.004927, allocations: 184.4 kB / 267.1 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.005072, allocations: 95.66 kB / 267.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.005102, allocations: 16 kB / 267.2 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.005127, allocations: 20 kB / 267.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.005162, allocations: 27.88 kB / 267.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.806e-05/0.005231, allocations: 71.88 kB / 267.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.005438, allocations: 163.4 kB / 267.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.005452, allocations: 0 / 267.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005453, allocations: 0 / 267.5 MB, free: 7.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.005466, allocations: 0 / 267.5 MB, free: 7.316 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006216/0.006088, allocations: 497.5 kB / 267.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.006118, allocations: 8.031 kB / 267.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.006168, allocations: 28.92 kB / 268 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.006371, allocations: 182.2 kB / 268.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.607e-05/0.006437, allocations: 72.23 kB / 268.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.006464, allocations: 16.38 kB / 268.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.006668, allocations: 195.8 kB / 268.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006678, allocations: 0 / 268.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.006691, allocations: 4 kB / 268.4 MB, free: 6.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.006697, allocations: 4 kB / 268.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.487e-05/0.006782, allocations: 56.12 kB / 268.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.007254, allocations: 319.8 kB / 268.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.007422, allocations: 98.45 kB / 268.9 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.007489, allocations: 44.83 kB / 268.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.007514, allocations: 4.25 kB / 268.9 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.007666, allocations: 150.6 kB / 269.1 MB, free: 5.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.007669, allocations: 4 kB / 269.1 MB, free: 5.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001887/0.007857, allocations: 100.5 kB / 269.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.00789, allocations: 55.41 kB / 269.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.007993, allocations: 183.8 kB / 269.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.008013, allocations: 33.7 kB / 269.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.008065, allocations: 120.3 kB / 269.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.008098, allocations: 55.58 kB / 269.6 MB, free: 4.953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.008145, allocations: 37.69 kB / 269.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.008224, allocations: 330.7 kB / 270 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.008268, allocations: 45.69 kB / 270 MB, free: 4.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.008325, allocations: 67.38 kB / 270.1 MB, free: 4.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.00841, allocations: 103.2 kB / 270.2 MB, free: 4.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.008414, allocations: 3.938 kB / 270.2 MB, free: 4.332 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001366/0.008551, allocations: 156.3 kB / 270.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.008588, allocations: 41.69 kB / 270.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.008593, allocations: 0 / 270.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.008602, allocations: 0 / 270.4 MB, free: 4.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.008867, allocations: 71.91 kB / 270.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.008872, allocations: 4 kB / 270.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.008944, allocations: 19.94 kB / 270.5 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.008954, allocations: 4 kB / 270.5 MB, free: 4.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 7.444e-05/0.009029, allocations: 125.7 kB / 270.6 MB, free: 3.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.009052, allocations: 23.97 kB / 270.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.009196, allocations: 103 kB / 270.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009199, allocations: 3.984 kB / 270.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.0092, allocations: 0 / 270.8 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.009204, allocations: 4 kB / 270.8 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.009484, allocations: 302.5 kB / 271 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009486, allocations: 0 / 271 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.009676, allocations: 59.94 kB / 271.1 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.009697, allocations: 19.83 kB / 271.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.0097, allocations: 0 / 271.1 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.009711, allocations: 4 kB / 271.1 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009714, allocations: 4 kB / 271.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.009717, allocations: 3.938 kB / 271.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.009904, allocations: 218.9 kB / 271.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.009925, allocations: 7.984 kB / 271.4 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.01001, allocations: 15.98 kB / 271.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.01004, allocations: 16.02 kB / 271.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.01005, allocations: 3.984 kB / 271.4 MB, free: 3.074 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.217e-05/0.01009, allocations: 46 kB / 271.4 MB, free: 3.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01009, allocations: 4 kB / 271.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.01024, allocations: 51.94 kB / 271.5 MB, free: 2.973 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.volume,veins.volume) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.43e-05/0.01033, allocations: 80.3 kB / 271.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01049, allocations: 165.7 kB / 271.7 MB, free: 2.699 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.0105, allocations: 4 kB / 271.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.127e-05/0.01055, allocations: 44.89 kB / 271.8 MB, free: 2.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01078, allocations: 59.91 kB / 271.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.01545, allocations: 413.1 kB / 272.2 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.949e-05/0.01549, allocations: 83.78 kB / 272.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.407e-05/0.01557, allocations: 25.47 kB / 272.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.0157, allocations: 103.3 kB / 272.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0157, allocations: 0 / 272.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of Templates: time 0.1065/0.1221, allocations: 2.987 MB / 275.4 MB, free: 8.547 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; mkfifo Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe ; head -c 1048576 < Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe >> ../files/Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.sim & ./Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Hydraulic.Examples.MinimalCirculation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.718737126328051]