Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1364/0.1364, allocations: 15.27 MB / 30.53 MB, free: 3.199 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 194.8 kB / 35.63 MB, free: 2.25 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.7 MB / 266.3 MB, free: 6.113 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008115/0.0008117, allocations: 102.7 kB / 321.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1525/0.1525, allocations: 20.57 MB / 397.6 MB, free: 42.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009525/0.0009528, allocations: 12 kB / 469.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4754, allocations: 59.78 MB / 0.5168 GB, free: 40.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Kofranek2014.NonPulsatileCirculation): time 0.1137/0.5892, allocations: 95.66 MB / 0.6102 GB, free: 10.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.05325/0.6425, allocations: 35.23 MB / 0.6447 GB, free: 12.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/0.6458, allocations: 47.62 kB / 0.6447 GB, free: 12.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003732/0.6496, allocations: 0.538 MB / 0.6452 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01837/0.668, allocations: 3.33 MB / 0.6485 GB, free: 8.957 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01623/0.6843, allocations: 2.66 MB / 0.6511 GB, free: 6.34 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00717/0.6915, allocations: 3.929 MB / 0.6549 GB, free: 2.398 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.6935, allocations: 0.6665 MB / 0.6556 GB, free: 1.723 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.6966, allocations: 0.8756 MB / 0.6564 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.6992, allocations: 0.9027 MB / 0.6573 GB, free: 15.94 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004249/0.6996, allocations: 44 kB / 0.6573 GB, free: 15.89 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01972/0.7194, allocations: 3.929 MB / 0.6612 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008484/0.7203, allocations: 227.1 kB / 0.6614 GB, free: 11.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.7221, allocations: 0.5031 MB / 0.6619 GB, free: 11.22 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02159/0.7437, allocations: 4.707 MB / 0.6665 GB, free: 6.5 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.7438, allocations: 0 / 0.6665 GB, free: 6.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7438, allocations: 0 / 0.6665 GB, free: 6.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.7439, allocations: 0 / 0.6665 GB, free: 6.5 MB / 474.7 MB 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.005282/0.7492, allocations: 1.675 MB / 0.6681 GB, free: 4.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.7492, allocations: 8.031 kB / 0.6681 GB, free: 4.766 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.7497, allocations: 106.8 kB / 0.6682 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.7514, allocations: 0.6187 MB / 0.6688 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.623e-05/0.7515, allocations: 53.31 kB / 0.6689 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.7518, allocations: 71.94 kB / 0.6689 GB, free: 3.875 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.754, allocations: 0.8012 MB / 0.6697 GB, free: 3.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.754, allocations: 0 / 0.6697 GB, free: 3.039 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7541, allocations: 28 kB / 0.6698 GB, free: 3.012 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.7541, allocations: 16 kB / 0.6698 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.7563, allocations: 0.7116 MB / 0.6705 GB, free: 2.281 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006702/0.763, allocations: 3.132 MB / 0.6735 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.7646, allocations: 0.5685 MB / 0.6741 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/0.7656, allocations: 334 kB / 0.6744 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003871/0.7695, allocations: 2.002 MB / 0.6764 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.7695, allocations: 34.56 kB / 0.6764 GB, free: 11.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 5.821e-06/0.7696, allocations: 3.984 kB / 0.6764 GB, free: 11.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.003688/0.7733, allocations: 1.159 MB / 0.6775 GB, free: 10.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.7734, allocations: 63.41 kB / 0.6776 GB, free: 10.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.775, allocations: 0.7586 MB / 0.6783 GB, free: 9.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.7751, allocations: 37.7 kB / 0.6784 GB, free: 9.617 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005484/0.7756, allocations: 435.4 kB / 0.6788 GB, free: 9.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.776, allocations: 169.6 kB / 0.6789 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.776, allocations: 12 kB / 0.6789 GB, free: 9.004 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.7763, allocations: 337.9 kB / 0.6793 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008843/0.7772, allocations: 261.8 kB / 0.6795 GB, free: 8.414 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.7783, allocations: 0.5051 MB / 0.68 GB, free: 7.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.7803, allocations: 0.7264 MB / 0.6807 GB, free: 6.969 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.7804, allocations: 4 kB / 0.6807 GB, free: 6.965 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003418/0.7838, allocations: 0.9581 MB / 0.6817 GB, free: 5.988 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.7838, allocations: 8 kB / 0.6817 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.7839, allocations: 8.25 kB / 0.6817 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.7846, allocations: 139.4 kB / 0.6818 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.7858, allocations: 175.7 kB / 0.682 GB, free: 5.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.788, allocations: 2.186 MB / 0.6841 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.7897, allocations: 123.2 kB / 0.6842 GB, free: 3.242 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7899, allocations: 35.98 kB / 0.6843 GB, free: 3.207 MB / 490.7 MB 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 (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006228/0.7905, allocations: 225.5 kB / 0.6845 GB, free: 2.977 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.7908, allocations: 79.06 kB / 0.6846 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002517/0.7933, allocations: 0.6738 MB / 0.6852 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7933, allocations: 4 kB / 0.6852 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7934, allocations: 0 / 0.6852 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.7934, allocations: 3.984 kB / 0.6852 GB, free: 2.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7949, allocations: 0.6804 MB / 0.6859 GB, free: 1.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.795, allocations: 4 kB / 0.6859 GB, free: 1.461 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.7957, allocations: 87.83 kB / 0.686 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/0.7964, allocations: 135.4 kB / 0.6861 GB, free: 1.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.7965, allocations: 11.98 kB / 0.6861 GB, free: 1.219 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3519/1.148, allocations: 2.173 MB / 0.6882 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.148, allocations: 0.5625 kB / 0.6882 GB, free: 143.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/1.152, allocations: 1.01 MB / 0.6892 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/1.152, allocations: 222.2 kB / 0.6894 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/1.152, allocations: 14.66 kB / 0.6894 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/1.153, allocations: 40.39 kB / 0.6895 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.154, allocations: 40.31 kB / 0.6895 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.54e-05/1.154, allocations: 21.34 kB / 0.6895 GB, free: 143.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001277/1.155, allocations: 0.5112 MB / 0.69 GB, free: 143.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.155, allocations: 1.031 kB / 0.69 GB, free: 143.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004297/1.159, allocations: 1.037 MB / 0.6911 GB, free: 143.1 MB / 490.7 MB 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006263/1.165, allocations: 1.6 MB / 0.6926 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002759/1.168, allocations: 0.6397 MB / 0.6932 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.168, allocations: 1.406 kB / 0.6932 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009907/1.169, allocations: 297.8 kB / 0.6935 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/1.172, allocations: 269.1 kB / 0.6938 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/1.177, allocations: 2.237 MB / 0.696 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/1.178, allocations: 0.9758 MB / 0.6969 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001187/1.179, allocations: 142 kB / 0.6971 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.179, allocations: 66.67 kB / 0.6971 GB, free: 141.1 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.179, allocations: 0 / 0.6971 GB, free: 141.1 MB / 490.7 MB Notification: Performance of Templates: time 0.06574/1.245, allocations: 33.28 MB / 0.7296 GB, free: 132.5 MB / 490.7 MB 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)