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.001516/0.001516, allocations: 174.3 kB / 12.73 MB, free: 2.59 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.342/1.342, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008343, allocations: 95.58 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3989/0.3989, allocations: 37.06 MB / 373.6 MB, free: 45.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.699e-05/3.703e-05, allocations: 4 kB / 441.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 60.08 MB / 0.4898 GB, free: 3.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.6039, allocations: 171.7 MB / 0.6575 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.6042, allocations: 84.77 kB / 0.6576 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095/1.699, allocations: 279.1 MB / 0.9301 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.312e-06/1.699, allocations: 0 / 0.9301 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.017e-05/1.699, allocations: 28.81 kB / 0.9301 GB, free: 58.65 MB / 0.4948 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.004664/1.704, allocations: 2.205 MB / 0.9323 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/1.704, allocations: 10.12 kB / 0.9323 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/1.704, allocations: 104.8 kB / 0.9324 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/1.706, allocations: 0.7277 MB / 0.9331 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/1.706, allocations: 57.28 kB / 0.9332 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.706, allocations: 74.12 kB / 0.9332 GB, free: 57.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.707, allocations: 0.7837 MB / 0.934 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.707, allocations: 352 / 0.934 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/1.707, allocations: 38.2 kB / 0.934 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.707, allocations: 19.12 kB / 0.9341 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/1.708, allocations: 0.6404 MB / 0.9347 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/1.712, allocations: 3.312 MB / 0.9379 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/1.713, allocations: 0.6383 MB / 0.9386 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/1.713, allocations: 332.2 kB / 0.9389 GB, free: 55.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002009/1.715, allocations: 2.126 MB / 0.9409 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/1.715, allocations: 40.34 kB / 0.941 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.946e-06/1.715, allocations: 0 / 0.941 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001036/1.716, allocations: 0.6172 MB / 0.9416 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/1.716, allocations: 54.59 kB / 0.9416 GB, free: 53.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/1.717, allocations: 0.7025 MB / 0.9423 GB, free: 53.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/1.717, allocations: 36.86 kB / 0.9424 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/1.717, allocations: 477.9 kB / 0.9428 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/1.717, allocations: 161.2 kB / 0.943 GB, free: 53.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/1.717, allocations: 14.31 kB / 0.943 GB, free: 53.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/1.717, allocations: 339.4 kB / 0.9433 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/1.718, allocations: 231.9 kB / 0.9435 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/1.718, allocations: 0.5008 MB / 0.944 GB, free: 52.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/1.718, allocations: 299.9 kB / 0.9443 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.718, allocations: 6.125 kB / 0.9443 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001375/1.72, allocations: 0.9371 MB / 0.9452 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.72, allocations: 8.844 kB / 0.9452 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.72, allocations: 13.25 kB / 0.9452 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/1.72, allocations: 171.7 kB / 0.9454 GB, free: 52.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/1.721, allocations: 179 kB / 0.9456 GB, free: 52.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/1.722, allocations: 2.226 MB / 0.9478 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/1.723, allocations: 129.3 kB / 0.9479 GB, free: 50.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/1.723, allocations: 37.33 kB / 0.9479 GB, free: 50.18 MB / 0.4948 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 () * 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.0001398/1.723, allocations: 153.5 kB / 0.9481 GB, free: 50.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/1.723, allocations: 90.73 kB / 0.9481 GB, free: 50.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/1.724, allocations: 0.6684 MB / 0.9488 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.724, allocations: 7.062 kB / 0.9488 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.724, allocations: 3.953 kB / 0.9488 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/1.724, allocations: 7.406 kB / 0.9488 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/1.725, allocations: 0.7333 MB / 0.9495 GB, free: 49.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.725, allocations: 0 / 0.9495 GB, free: 49.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/1.726, allocations: 84.92 kB / 0.9496 GB, free: 49.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/1.726, allocations: 167.9 kB / 0.9498 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/1.726, allocations: 14.94 kB / 0.9498 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/1.727, allocations: 2.213 MB / 0.9519 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.727, allocations: 0 / 0.9519 GB, free: 47.62 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/1.728, allocations: 1.024 MB / 0.9529 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/1.729, allocations: 236.6 kB / 0.9532 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.729, allocations: 7.125 kB / 0.9532 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/1.729, allocations: 52.98 kB / 0.9532 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/1.729, allocations: 34.41 kB / 0.9533 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/1.729, allocations: 21.84 kB / 0.9533 GB, free: 47.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005481/1.73, allocations: 0.5313 MB / 0.9538 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/1.73, allocations: 0 / 0.9538 GB, free: 47.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002967/1.733, allocations: 1.148 MB / 0.9549 GB, free: 46.89 MB / 0.4948 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 () * 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.00306/1.736, allocations: 1.835 MB / 0.9567 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001236/1.737, allocations: 0.6122 MB / 0.9573 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.737, allocations: 0 / 0.9573 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/1.738, allocations: 287 kB / 0.9576 GB, free: 46.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.74, allocations: 387.5 kB / 0.958 GB, free: 46.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/1.742, allocations: 1.466 MB / 0.9594 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/1.743, allocations: 1.015 MB / 0.9604 GB, free: 45.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007564/1.744, allocations: 164.4 kB / 0.9605 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.744, allocations: 75.92 kB / 0.9606 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.533e-06/1.744, allocations: 5.797 kB / 0.9606 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.04621/1.79, allocations: 38.01 MB / 0.9977 GB, free: 40.57 MB / 0.4948 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)