Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.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.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") translateModel(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08732/0.08732, allocations: 15.28 MB / 30.53 MB, free: 3.195 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.0009367/0.0009367, allocations: 189.3 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.488/1.488, allocations: 225.7 MB / 266.3 MB, free: 6.125 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.0007893/0.0007894, allocations: 103.2 kB / 321.7 MB, free: 2.211 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.1315/0.1315, allocations: 20.55 MB / 397.6 MB, free: 42.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 20 kB / 469.5 MB, free: 3.035 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4164, allocations: 59.77 MB / 0.5168 GB, free: 40.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG): time 0.1405/0.5569, allocations: 148.5 MB / 0.6618 GB, free: 10.45 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4203/0.9772, allocations: 64.64 MB / 0.7249 GB, free: 43.53 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.9803, allocations: 65.06 kB / 0.725 GB, free: 43.53 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.9839, allocations: 0.821 MB / 0.7258 GB, free: 43.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.9983, allocations: 4.378 MB / 0.7301 GB, free: 43.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/1.016, allocations: 4.52 MB / 0.7345 GB, free: 43.23 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.008699/1.024, allocations: 5.729 MB / 0.7401 GB, free: 43.08 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/1.027, allocations: 0.9724 MB / 0.741 GB, free: 42.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/1.031, allocations: 1.247 MB / 0.7422 GB, free: 42.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/1.035, allocations: 1.38 MB / 0.7436 GB, free: 42.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/1.035, allocations: 75.06 kB / 0.7437 GB, free: 42.22 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/1.06, allocations: 6.066 MB / 0.7496 GB, free: 41.24 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.062, allocations: 402.2 kB / 0.75 GB, free: 41.13 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/1.063, allocations: 0.7335 MB / 0.7507 GB, free: 41.03 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02398/1.087, allocations: 7.133 MB / 0.7576 GB, free: 38.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.087, allocations: 0 / 0.7576 GB, free: 38.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/1.087, allocations: 0 / 0.7576 GB, free: 38.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/1.087, allocations: 0 / 0.7576 GB, free: 38.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.005099/1.092, allocations: 2.357 MB / 0.7599 GB, free: 36.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.953e-05/1.092, allocations: 12.03 kB / 0.76 GB, free: 36.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/1.093, allocations: 150.2 kB / 0.7601 GB, free: 35.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.094, allocations: 0.8964 MB / 0.761 GB, free: 35.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/1.094, allocations: 76.38 kB / 0.761 GB, free: 35.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.094, allocations: 104.8 kB / 0.7611 GB, free: 35.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/1.096, allocations: 1.326 MB / 0.7624 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.096, allocations: 7.938 kB / 0.7625 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/1.096, allocations: 37.62 kB / 0.7625 GB, free: 34.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/1.096, allocations: 24 kB / 0.7625 GB, free: 34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/1.098, allocations: 1.363 MB / 0.7638 GB, free: 33.02 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/1.103, allocations: 4.786 MB / 0.7685 GB, free: 28.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/1.105, allocations: 1.44 MB / 0.7699 GB, free: 27.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.106, allocations: 0.6202 MB / 0.7705 GB, free: 27.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003224/1.109, allocations: 2.758 MB / 0.7732 GB, free: 24.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.109, allocations: 39.56 kB / 0.7733 GB, free: 24.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 1.853e-06/1.109, allocations: 0 / 0.7733 GB, free: 24.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.002902/1.112, allocations: 1.986 MB / 0.7752 GB, free: 22.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.112, allocations: 63.95 kB / 0.7753 GB, free: 22.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.113, allocations: 1.12 MB / 0.7764 GB, free: 21.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/1.113, allocations: 36.2 kB / 0.7764 GB, free: 21.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/1.114, allocations: 0.6077 MB / 0.777 GB, free: 21.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.114, allocations: 246.2 kB / 0.7772 GB, free: 21.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/1.114, allocations: 22.31 kB / 0.7772 GB, free: 21.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/1.114, allocations: 340.6 kB / 0.7776 GB, free: 20.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/1.115, allocations: 0.5016 MB / 0.7781 GB, free: 20.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008942/1.116, allocations: 0.8446 MB / 0.7789 GB, free: 19.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/1.117, allocations: 1.296 MB / 0.7801 GB, free: 18.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.117, allocations: 4 kB / 0.7801 GB, free: 18.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002323/1.119, allocations: 1.594 MB / 0.7817 GB, free: 17.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/1.12, allocations: 8 kB / 0.7817 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.12, allocations: 8 kB / 0.7817 GB, free: 17.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/1.12, allocations: 170 kB / 0.7819 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/1.121, allocations: 240.5 kB / 0.7821 GB, free: 16.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/1.122, allocations: 2.728 MB / 0.7848 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.123, allocations: 170.1 kB / 0.7849 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/1.123, allocations: 52.3 kB / 0.785 GB, free: 13.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (125): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004008/1.124, allocations: 334.4 kB / 0.7853 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.124, allocations: 110.5 kB / 0.7854 GB, free: 13.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.126, allocations: 1.224 MB / 0.7866 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.126, allocations: 11.94 kB / 0.7866 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.126, allocations: 0 / 0.7866 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.126, allocations: 3.984 kB / 0.7866 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.127, allocations: 1.06 MB / 0.7877 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.127, allocations: 64 / 0.7877 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/1.127, allocations: 122.7 kB / 0.7878 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002579/1.128, allocations: 152.1 kB / 0.7879 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/1.128, allocations: 25.34 kB / 0.7879 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/1.129, allocations: 2.71 MB / 0.7906 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.129, allocations: 0 / 0.7906 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002463/1.131, allocations: 1.9 MB / 0.7924 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/1.132, allocations: 291.4 kB / 0.7927 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/1.132, allocations: 17.62 kB / 0.7927 GB, free: 6.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/1.132, allocations: 76.72 kB / 0.7928 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.133, allocations: 61.09 kB / 0.7929 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/1.133, allocations: 25.92 kB / 0.7929 GB, free: 6.809 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007454/1.133, allocations: 0.7777 MB / 0.7937 GB, free: 6.223 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.133, allocations: 0 / 0.7937 GB, free: 6.223 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004044/1.137, allocations: 1.612 MB / 0.7952 GB, free: 4.754 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pulmonaryVeinsAndLeftAtrium.enthalpy,pulmonaryVeinsAndLeftAtrium.mass,pulmonaryArteries.enthalpy,pulmonaryArteries.mass,arteries.enthalpy,arteries.mass,veins.enthalpy,veins.mass,rightAtrium.enthalpy,rightAtrium.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 (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003898/1.141, allocations: 2.402 MB / 0.7976 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/1.143, allocations: 1.197 MB / 0.7987 GB, free: 1.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.143, allocations: 4 kB / 0.7987 GB, free: 1.715 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008144/1.144, allocations: 0.5619 MB / 0.7993 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.146, allocations: 316.1 kB / 0.7996 GB, free: 1.055 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/1.15, allocations: 3.522 MB / 0.803 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/1.151, allocations: 1.181 MB / 0.8042 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008748/1.152, allocations: 215.6 kB / 0.8044 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/1.152, allocations: 94.62 kB / 0.8045 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/1.152, allocations: 0 / 0.8045 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.06948/1.222, allocations: 47.89 MB / 0.8513 GB, free: 12.51 MB / 0.5417 GB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.CardiovascularSystem_GCG.pipe 2>&1)