Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.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.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") translateModel(Physiolibrary.Fluid.Examples.MeanRespiration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1167/0.1167, allocations: 15.27 MB / 30.53 MB, free: 3.078 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.001513/0.001514, allocations: 186.2 kB / 35.62 MB, free: 2.238 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.491/1.491, allocations: 225.7 MB / 266.3 MB, free: 6.105 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.0008136/0.0008138, allocations: 102.5 kB / 321.7 MB, free: 2.223 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.1206/0.1206, allocations: 20.56 MB / 397.6 MB, free: 42.36 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004622, allocations: 16 kB / 469.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.308, allocations: 59.78 MB / 0.5168 GB, free: 40.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.MeanRespiration): time 0.02601/0.3341, allocations: 31.26 MB / 0.5473 GB, free: 17.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.3525, allocations: 24.76 MB / 0.5715 GB, free: 12.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.3532, allocations: 13.81 kB / 0.5715 GB, free: 12.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.3548, allocations: 439 kB / 0.572 GB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.3597, allocations: 1.615 MB / 0.5735 GB, free: 11.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.3636, allocations: 1.156 MB / 0.5747 GB, free: 10.57 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.3648, allocations: 0.9231 MB / 0.5756 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007864/0.3656, allocations: 0.7195 MB / 0.5763 GB, free: 9.965 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002527/0.3682, allocations: 1.217 MB / 0.5775 GB, free: 9.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007507/0.3689, allocations: 0.6119 MB / 0.5781 GB, free: 9.281 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.369, allocations: 63 kB / 0.5781 GB, free: 9.281 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006727/0.3758, allocations: 2.654 MB / 0.5807 GB, free: 8.547 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.3761, allocations: 244.9 kB / 0.5809 GB, free: 8.445 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004331/0.3766, allocations: 333.6 kB / 0.5813 GB, free: 8.254 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00846/0.385, allocations: 2.91 MB / 0.5841 GB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3851, allocations: 4 kB / 0.5841 GB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3851, allocations: 1.188 kB / 0.5841 GB, free: 7.238 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3851, allocations: 0 / 0.5841 GB, free: 7.238 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002916/0.388, allocations: 1.007 MB / 0.5851 GB, free: 6.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3881, allocations: 8.812 kB / 0.5851 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3882, allocations: 42.78 kB / 0.5851 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007559/0.389, allocations: 451.6 kB / 0.5856 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.389, allocations: 20.84 kB / 0.5856 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/0.3891, allocations: 27.25 kB / 0.5856 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3901, allocations: 0.5994 MB / 0.5862 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3902, allocations: 0 / 0.5862 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.3902, allocations: 8 kB / 0.5862 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3902, allocations: 5.656 kB / 0.5862 GB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.3917, allocations: 0.8669 MB / 0.5871 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.3945, allocations: 1.477 MB / 0.5885 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006378/0.3952, allocations: 331.5 kB / 0.5888 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.3957, allocations: 296.7 kB / 0.5891 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.396, allocations: 125.8 kB / 0.5892 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.396, allocations: 36.62 kB / 0.5893 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008457/0.3969, allocations: 165.8 kB / 0.5894 GB, free: 4.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.3969, allocations: 0 / 0.5894 GB, free: 4.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.009034/0.4059, allocations: 2.173 MB / 0.5915 GB, free: 3.703 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.406, allocations: 58.25 kB / 0.5916 GB, free: 3.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.4066, allocations: 417.8 kB / 0.592 GB, free: 3.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.4067, allocations: 31.48 kB / 0.592 GB, free: 3.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4068, allocations: 168.9 kB / 0.5922 GB, free: 3.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.407, allocations: 111.3 kB / 0.5923 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.407, allocations: 5.375 kB / 0.5923 GB, free: 3.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4072, allocations: 344.6 kB / 0.5926 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.4076, allocations: 231.2 kB / 0.5928 GB, free: 2.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.408, allocations: 232.4 kB / 0.5931 GB, free: 2.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.409, allocations: 0.5042 MB / 0.5936 GB, free: 2.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.409, allocations: 0 / 0.5936 GB, free: 2.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002272/0.4113, allocations: 0.9389 MB / 0.5945 GB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4113, allocations: 10.2 kB / 0.5945 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4113, allocations: 3.984 kB / 0.5945 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01698/0.4283, allocations: 2.711 MB / 0.5971 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.22e-05/0.4284, allocations: 4 kB / 0.5971 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.4316, allocations: 1.517 MB / 0.5986 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.4321, allocations: 11.98 kB / 0.5986 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.4322, allocations: 31.95 kB / 0.5987 GB, free: 0.5781 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.4324, allocations: 153.8 kB / 0.5988 GB, free: 428 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.4325, allocations: 35.53 kB / 0.5988 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4345, allocations: 1.088 MB / 0.5999 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.4346, allocations: 4 kB / 0.5999 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4346, allocations: 7.984 kB / 0.5999 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.4346, allocations: 0 / 0.5999 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.4371, allocations: 1.762 MB / 0.6016 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4371, allocations: 0 / 0.6016 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.4371, allocations: 11.92 kB / 0.6016 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005367/0.4425, allocations: 1.413 MB / 0.603 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/0.4426, allocations: 15.94 kB / 0.603 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.4449, allocations: 1.541 MB / 0.6045 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4449, allocations: 0 / 0.6045 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.4462, allocations: 0.9764 MB / 0.6055 GB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.4465, allocations: 176.5 kB / 0.6057 GB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.4466, allocations: 8 kB / 0.6057 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.4469, allocations: 8 kB / 0.6057 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.447, allocations: 23.97 kB / 0.6057 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.447, allocations: 15.98 kB / 0.6057 GB, free: 9.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003421/0.4474, allocations: 303.1 kB / 0.606 GB, free: 8.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4474, allocations: 3.938 kB / 0.606 GB, free: 8.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001828/0.4492, allocations: 0.6321 MB / 0.6066 GB, free: 8.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00225/0.4515, allocations: 1.153 MB / 0.6078 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.4537, allocations: 0.7205 MB / 0.6085 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4538, allocations: 4 kB / 0.6085 GB, free: 6.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4549, allocations: 467.1 kB / 0.6089 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001413/0.4563, allocations: 259.3 kB / 0.6092 GB, free: 5.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4579, allocations: 1.072 MB / 0.6102 GB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.4583, allocations: 0.8083 MB / 0.611 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.4585, allocations: 43.36 kB / 0.611 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.4586, allocations: 35.34 kB / 0.6111 GB, free: 3.664 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4586, allocations: 4 kB / 0.6111 GB, free: 3.66 MB / 410.7 MB Notification: Performance of Templates: time 0.03786/0.4964, allocations: 26.15 MB / 0.6366 GB, free: 9.652 MB / 442.7 MB make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.makefile (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.MeanRespiration.pipe 2>&1)