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/Chemical 1.4.0-master/package.mo", uses=false) 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-alpha11 (/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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/Chemical 1.4.0-master/package.mo): time 0.07771/0.07771, allocations: 15.27 MB / 31.21 MB, free: 3.227 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000934/0.0009342, allocations: 178.1 kB / 36.29 MB, free: 2.27 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 264.5 MB, free: 6.207 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.0008074/0.0008075, allocations: 91.75 kB / 319.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1019/0.1019, allocations: 20.55 MB / 395.8 MB, free: 43.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 16 kB / 467.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2544, allocations: 59.78 MB / 0.515 GB, free: 41.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.4128, allocations: 166.9 MB / 0.678 GB, free: 2.184 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4131, allocations: 87.95 kB / 0.6781 GB, free: 2.098 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6028/1.016, allocations: 213.5 MB / 0.8866 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/1.016, allocations: 4 kB / 0.8866 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.743e-05/1.016, allocations: 23.98 kB / 0.8867 GB, free: 2.805 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003687/1.02, allocations: 1.756 MB / 0.8884 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.02, allocations: 8.031 kB / 0.8884 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/1.02, allocations: 103.7 kB / 0.8885 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.021, allocations: 0.6798 MB / 0.8891 GB, free: 168 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.902e-05/1.021, allocations: 57.62 kB / 0.8892 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.021, allocations: 72.38 kB / 0.8893 GB, free: 36 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2077/1.229, allocations: 0.7919 MB / 0.89 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.229, allocations: 3.844 kB / 0.89 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.097e-05/1.229, allocations: 24.81 kB / 0.8901 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/1.229, allocations: 17.39 kB / 0.8901 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/1.23, allocations: 0.6945 MB / 0.8908 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004163/1.235, allocations: 3.121 MB / 0.8938 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009592/1.236, allocations: 0.5694 MB / 0.8944 GB, free: 57.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005892/1.236, allocations: 335.4 kB / 0.8947 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/1.238, allocations: 2.007 MB / 0.8966 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/1.238, allocations: 41.62 kB / 0.8967 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/1.238, allocations: 0.75 kB / 0.8967 GB, free: 55.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.002056/1.24, allocations: 1.167 MB / 0.8978 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/1.24, allocations: 56.62 kB / 0.8979 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008538/1.241, allocations: 0.7495 MB / 0.8986 GB, free: 55.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/1.241, allocations: 38.52 kB / 0.8987 GB, free: 55.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/1.242, allocations: 437.3 kB / 0.8991 GB, free: 54.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.242, allocations: 168.7 kB / 0.8992 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/1.242, allocations: 17.81 kB / 0.8992 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.488e-05/1.242, allocations: 337.6 kB / 0.8996 GB, free: 54.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/1.242, allocations: 252.7 kB / 0.8998 GB, free: 54.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/1.243, allocations: 496.5 kB / 0.9003 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/1.244, allocations: 0.7117 MB / 0.901 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.244, allocations: 1.438 kB / 0.901 GB, free: 53.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001701/1.245, allocations: 0.934 MB / 0.9019 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.245, allocations: 9.531 kB / 0.9019 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.246, allocations: 7.469 kB / 0.9019 GB, free: 53.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/1.246, allocations: 144.8 kB / 0.902 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/1.247, allocations: 170.4 kB / 0.9022 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/1.247, allocations: 2.174 MB / 0.9043 GB, free: 51.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/1.248, allocations: 122.1 kB / 0.9044 GB, free: 51.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.248, allocations: 41.08 kB / 0.9045 GB, free: 51.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (86): * Single equations (assignments): 82 * 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.0002981/1.249, allocations: 222.8 kB / 0.9047 GB, free: 51.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.249, allocations: 87.14 kB / 0.9048 GB, free: 51.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/1.25, allocations: 0.6664 MB / 0.9054 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.25, allocations: 5.5 kB / 0.9054 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.25, allocations: 3.281 kB / 0.9054 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.25, allocations: 3.938 kB / 0.9054 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/1.251, allocations: 0.6886 MB / 0.9061 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.251, allocations: 0 / 0.9061 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/1.251, allocations: 84.36 kB / 0.9062 GB, free: 51.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/1.252, allocations: 127.7 kB / 0.9063 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/1.252, allocations: 20.48 kB / 0.9063 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008706/1.253, allocations: 2.159 MB / 0.9084 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.253, allocations: 3.5 kB / 0.9085 GB, free: 49.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.254, allocations: 1.006 MB / 0.9094 GB, free: 48.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/1.254, allocations: 225.3 kB / 0.9096 GB, free: 48.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/1.254, allocations: 14.28 kB / 0.9097 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/1.255, allocations: 50.27 kB / 0.9097 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/1.255, allocations: 28.92 kB / 0.9097 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/1.255, allocations: 14.56 kB / 0.9098 GB, free: 48.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005169/1.256, allocations: 0.5124 MB / 0.9103 GB, free: 48.67 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.256, allocations: 0 / 0.9103 GB, free: 48.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002834/1.258, allocations: 1.097 MB / 0.9113 GB, free: 48.66 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * 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.002464/1.261, allocations: 1.725 MB / 0.913 GB, free: 48.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001186/1.262, allocations: 0.6246 MB / 0.9136 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.262, allocations: 0 / 0.9136 GB, free: 48.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004992/1.263, allocations: 297.8 kB / 0.9139 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/1.264, allocations: 279.9 kB / 0.9142 GB, free: 48.53 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.266, allocations: 2.133 MB / 0.9163 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/1.267, allocations: 0.9788 MB / 0.9172 GB, free: 63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005412/1.268, allocations: 137.4 kB / 0.9173 GB, free: 62.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.268, allocations: 67.69 kB / 0.9174 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.268, allocations: 0 / 0.9174 GB, free: 62.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.04204/1.31, allocations: 34.33 MB / 0.9509 GB, free: 60.75 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)