Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") translateModel(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009175/0.009175, allocations: 171 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 239 MB, free: 20 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001081, allocations: 105.6 kB / 290.2 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2842/0.2842, allocations: 37.07 MB / 378.4 MB, free: 7.785 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 12 kB / 449 MB, free: 79.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 60.07 MB / 0.4971 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6008/0.7376, allocations: 171.8 MB / 0.6649 GB, free: 14.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.7379, allocations: 86.95 kB / 0.6649 GB, free: 14.69 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9323/1.67, allocations: 279.8 MB / 0.9382 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.766e-06/1.67, allocations: 0 / 0.9382 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000136/1.67, allocations: 27.98 kB / 0.9383 GB, free: 10.21 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007212/1.678, allocations: 2.333 MB / 0.9405 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.678, allocations: 8.031 kB / 0.9405 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/1.678, allocations: 114.7 kB / 0.9407 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/1.68, allocations: 0.7233 MB / 0.9414 GB, free: 6.938 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.667e-05/1.681, allocations: 53.94 kB / 0.9414 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/1.681, allocations: 76.25 kB / 0.9415 GB, free: 6.812 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/1.682, allocations: 0.8349 MB / 0.9423 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.682, allocations: 0 / 0.9423 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.016e-05/1.683, allocations: 28 kB / 0.9423 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/1.683, allocations: 16 kB / 0.9423 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/1.684, allocations: 0.7116 MB / 0.943 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004561/1.688, allocations: 3.312 MB / 0.9463 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/1.689, allocations: 0.6903 MB / 0.9469 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3434/2.033, allocations: 2.043 MB / 0.9489 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/2.033, allocations: 41.03 kB / 0.949 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=44): time 2.895e-06/2.033, allocations: 0 / 0.949 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=44): time 0.002322/2.035, allocations: 1.232 MB / 0.9502 GB, free: 60 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/2.035, allocations: 62.88 kB / 0.9502 GB, free: 59.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007937/2.036, allocations: 0.7099 MB / 0.9509 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/2.036, allocations: 36.17 kB / 0.951 GB, free: 59.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/2.036, allocations: 471.1 kB / 0.9514 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/2.037, allocations: 168 kB / 0.9516 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/2.037, allocations: 13.28 kB / 0.9516 GB, free: 59.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/2.037, allocations: 338.5 kB / 0.9519 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/2.037, allocations: 265.6 kB / 0.9522 GB, free: 59.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/2.038, allocations: 0.5338 MB / 0.9527 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/2.038, allocations: 329.2 kB / 0.953 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/2.038, allocations: 3.562 kB / 0.953 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001623/2.04, allocations: 1.007 MB / 0.954 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/2.04, allocations: 10.59 kB / 0.954 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/2.04, allocations: 7.062 kB / 0.954 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/2.04, allocations: 183.4 kB / 0.9542 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/2.041, allocations: 169.6 kB / 0.9543 GB, free: 58.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/2.042, allocations: 2.231 MB / 0.9565 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/2.043, allocations: 120.8 kB / 0.9566 GB, free: 56.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/2.043, allocations: 33.73 kB / 0.9567 GB, free: 56.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (89): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003589/2.043, allocations: 236 kB / 0.9569 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/2.044, allocations: 88.47 kB / 0.957 GB, free: 56.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/2.045, allocations: 0.7374 MB / 0.9577 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.045, allocations: 8.703 kB / 0.9577 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/2.045, allocations: 0 / 0.9577 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/2.045, allocations: 5.672 kB / 0.9577 GB, free: 56.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008682/2.046, allocations: 0.7273 MB / 0.9584 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/2.046, allocations: 3.969 kB / 0.9584 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/2.046, allocations: 87.33 kB / 0.9585 GB, free: 56.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/2.047, allocations: 169 kB / 0.9587 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/2.047, allocations: 17.73 kB / 0.9587 GB, free: 56.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008837/2.048, allocations: 2.217 MB / 0.9609 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.048, allocations: 0 / 0.9609 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/2.049, allocations: 1.117 MB / 0.9619 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/2.05, allocations: 231.6 kB / 0.9622 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/2.05, allocations: 11.09 kB / 0.9622 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/2.05, allocations: 51.12 kB / 0.9622 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/2.051, allocations: 31.23 kB / 0.9623 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/2.051, allocations: 19.73 kB / 0.9623 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006746/2.051, allocations: 0.5396 MB / 0.9628 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.52e-07/2.051, allocations: 0 / 0.9628 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004159/2.055, allocations: 1.141 MB / 0.9639 GB, free: 53.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (PulmonaryArteries.enthalpy,PulmonaryArteries.mass,PulmonaryVeins.enthalpy,PulmonaryVeins.mass,SystemicVeins.enthalpy,SystemicVeins.mass,SystemicArteries.enthalpy,SystemicArteries.mass) * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003939/2.059, allocations: 1.845 MB / 0.9657 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001586/2.061, allocations: 0.6698 MB / 0.9664 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.061, allocations: 0 / 0.9664 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005604/2.062, allocations: 319.7 kB / 0.9667 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/2.063, allocations: 392.1 kB / 0.967 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/2.067, allocations: 2.25 MB / 0.9692 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/2.067, allocations: 1.02 MB / 0.9702 GB, free: 51.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000715/2.068, allocations: 157.4 kB / 0.9704 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/2.068, allocations: 75.17 kB / 0.9705 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of SimCode: time 7.41e-07/2.068, allocations: 0 / 0.9705 GB, free: 51.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.05188/2.12, allocations: 36.96 MB / 1.007 GB, free: 49.64 MB / 0.5105 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.pipe 2>&1)