Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.conf.json 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/SystemDynamics 2.1.1-master/package.mo", uses=false) Using package SystemDynamics with version 2.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-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) Running command: translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") translateModel(SystemDynamics.IntroductoryExamples.Influenza.Flu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 180.9 kB / 15.43 MB, free: 6.211 MB / 13.93 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.245/1.245, allocations: 225.7 MB / 241.9 MB, free: 368 kB / 186.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.0007733/0.0007732, allocations: 91.98 kB / 293.1 MB, free: 12.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/SystemDynamics 2.1.1-master/package.mo): time 0.1467/0.1467, allocations: 28.84 MB / 373 MB, free: 12.77 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 441.2 MB, free: 69.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.07912, allocations: 57.48 MB / 498.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(SystemDynamics.IntroductoryExamples.Influenza.Flu): time 0.001511/0.08066, allocations: 1.481 MB / 0.4885 GB, free: 10.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.08123, allocations: 298.9 kB / 0.4888 GB, free: 10.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.08142, allocations: 7.938 kB / 0.4888 GB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.08156, allocations: 39.58 kB / 0.4888 GB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.08167, allocations: 19.86 kB / 0.4888 GB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.08194, allocations: 135.9 kB / 0.4889 GB, free: 9.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.08223, allocations: 340.2 kB / 0.4893 GB, free: 9.602 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.08253, allocations: 244.7 kB / 0.4895 GB, free: 9.359 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.0826, allocations: 91.39 kB / 0.4896 GB, free: 9.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.08271, allocations: 111 kB / 0.4897 GB, free: 9.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.08275, allocations: 8 kB / 0.4897 GB, free: 9.152 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.08278, allocations: 8 kB / 0.4897 GB, free: 9.145 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.08282, allocations: 51.72 kB / 0.4898 GB, free: 9.094 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.058e-05/0.08291, allocations: 164.5 kB / 0.4899 GB, free: 8.926 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.08312, allocations: 334.8 kB / 0.4902 GB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.08314, allocations: 4 kB / 0.4902 GB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08314, allocations: 0 / 0.4902 GB, free: 8.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.08316, allocations: 0 / 0.4902 GB, free: 8.594 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.0006803/0.08384, allocations: 0.5928 MB / 0.4908 GB, free: 7.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.08389, allocations: 11.97 kB / 0.4908 GB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.08398, allocations: 52.38 kB / 0.4909 GB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.08428, allocations: 315.4 kB / 0.4912 GB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.08434, allocations: 37.38 kB / 0.4912 GB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.08439, allocations: 44.38 kB / 0.4913 GB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.08493, allocations: 436.7 kB / 0.4917 GB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.08495, allocations: 192 / 0.4917 GB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.08499, allocations: 19.94 kB / 0.4917 GB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.08501, allocations: 19.98 kB / 0.4917 GB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.08535, allocations: 227.8 kB / 0.4919 GB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.08675, allocations: 1.681 MB / 0.4936 GB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.08707, allocations: 170.5 kB / 0.4937 GB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.08718, allocations: 76.83 kB / 0.4938 GB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.08721, allocations: 8 kB / 0.4938 GB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.08741, allocations: 116.4 kB / 0.4939 GB, free: 4.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.08742, allocations: 0 / 0.4939 GB, free: 4.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003422/0.08777, allocations: 240.5 kB / 0.4942 GB, free: 4.348 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.0878, allocations: 55.34 kB / 0.4942 GB, free: 4.281 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.08798, allocations: 250.7 kB / 0.4944 GB, free: 4.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.088, allocations: 29.64 kB / 0.4945 GB, free: 3.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.0881, allocations: 247.9 kB / 0.4947 GB, free: 3.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.08815, allocations: 82.83 kB / 0.4948 GB, free: 3.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/0.08816, allocations: 4 kB / 0.4948 GB, free: 3.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.08823, allocations: 342.8 kB / 0.4951 GB, free: 3.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.08836, allocations: 56.53 kB / 0.4952 GB, free: 3.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.08848, allocations: 133.6 kB / 0.4953 GB, free: 3.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.08871, allocations: 207.1 kB / 0.4955 GB, free: 2.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.08872, allocations: 0 / 0.4955 GB, free: 2.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003068/0.08903, allocations: 257 kB / 0.4957 GB, free: 2.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.08906, allocations: 12.28 kB / 0.4958 GB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.08907, allocations: 0 / 0.4958 GB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.08909, allocations: 4 kB / 0.4958 GB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.08928, allocations: 51.92 kB / 0.4958 GB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.08929, allocations: 7.938 kB / 0.4958 GB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.08941, allocations: 23.75 kB / 0.4958 GB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.08943, allocations: 8 kB / 0.4958 GB, free: 2.496 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,Immune.Integrator1.local_reset,Sick.Integrator1.local_reset,Infected.Integrator1.local_reset,Non_infected.Integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.08956, allocations: 169.6 kB / 0.496 GB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.08959, allocations: 23.72 kB / 0.496 GB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.08988, allocations: 195.8 kB / 0.4962 GB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.0899, allocations: 7.984 kB / 0.4962 GB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.08991, allocations: 0 / 0.4962 GB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.08992, allocations: 0 / 0.4962 GB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.09045, allocations: 0.6309 MB / 0.4968 GB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.09047, allocations: 4 kB / 0.4968 GB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.09065, allocations: 31.92 kB / 0.4969 GB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.09066, allocations: 0 / 0.4969 GB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.09068, allocations: 8 kB / 0.4969 GB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.09069, allocations: 4 kB / 0.4969 GB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0907, allocations: 0 / 0.4969 GB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.09107, allocations: 361.6 kB / 0.4972 GB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.09111, allocations: 92.83 kB / 0.4973 GB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.09115, allocations: 8 kB / 0.4973 GB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.09126, allocations: 11.97 kB / 0.4973 GB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.09132, allocations: 11.98 kB / 0.4974 GB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.09134, allocations: 11.94 kB / 0.4974 GB, free: 0.8438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.09146, allocations: 174 kB / 0.4975 GB, free: 0.6758 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.09147, allocations: 0 / 0.4975 GB, free: 0.6758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000294/0.09177, allocations: 83.52 kB / 0.4976 GB, free: 0.5938 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Non_infected.Integrator1.y,Infected.Integrator1.y,Sick.Integrator1.y,Immune.Integrator1.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.217e-05/0.09185, allocations: 103.2 kB / 0.4977 GB, free: 492 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.09209, allocations: 159.8 kB / 0.4979 GB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.09211, allocations: 4.5 kB / 0.4979 GB, free: 328 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.0922, allocations: 87.91 kB / 0.4979 GB, free: 240 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.09258, allocations: 53.97 kB / 0.498 GB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.09365, allocations: 0.799 MB / 0.4988 GB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.09402, allocations: 0.8028 MB / 0.4996 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.155e-05/0.09412, allocations: 22.28 kB / 0.4996 GB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.09418, allocations: 19.44 kB / 0.4996 GB, free: 14.48 MB / 346.7 MB Notification: Performance of SimCode: time 3.2e-07/0.09418, allocations: 0 / 0.4996 GB, free: 14.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004731/0.09892, allocations: 1.722 MB / 0.5013 GB, free: 12.77 MB / 346.7 MB make -j1 -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.makefile (rm -f SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; mkfifo SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe ; head -c 1048576 < SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe >> ../files/SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.sim & ./SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu -abortSlowSimulation -alarm=480 -lv LOG_STATS > SystemDynamics_SystemDynamics.IntroductoryExamples.Influenza.Flu.pipe 2>&1)