Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.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) 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(Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.08591/0.08591, 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.001031/0.001031, allocations: 185 kB / 35.62 MB, free: 2.234 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.391/1.391, allocations: 225.7 MB / 266.3 MB, free: 6.145 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.0007729/0.000773, allocations: 99.22 kB / 321.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 11.66 kB / 387 MB, free: 50.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 54.65 MB / 441.7 MB, free: 14.86 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.02631/0.127, allocations: 25.7 MB / 467.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.1583, allocations: 32.35 MB / 499.7 MB, free: 2.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.16, allocations: 39.69 kB / 499.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.1615, allocations: 0.5203 MB / 0.4886 GB, free: 2.141 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005512/0.167, allocations: 1.82 MB / 0.4903 GB, free: 316 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00892/0.176, allocations: 3.074 MB / 0.4933 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007377/0.1834, allocations: 7.242 MB / 0.5004 GB, free: 5.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005763/0.1892, allocations: 4.767 MB / 0.5051 GB, free: 1.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.229/0.4181, allocations: 4.43 MB / 0.5094 GB, free: 29.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008696/0.4269, allocations: 4.099 MB / 0.5134 GB, free: 29.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002652/0.4296, allocations: 397.9 kB / 0.5138 GB, free: 29.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.4434, allocations: 2.893 MB / 0.5166 GB, free: 29.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003511/0.4469, allocations: 1.409 MB / 0.518 GB, free: 29.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008335/0.4553, allocations: 2.96 MB / 0.5209 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02238/0.4777, allocations: 10.23 MB / 0.5309 GB, free: 27.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4777, allocations: 4.969 kB / 0.5309 GB, free: 27.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4777, allocations: 0 / 0.5309 GB, free: 27.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003834/0.4781, allocations: 0 / 0.5309 GB, free: 27.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.01906/0.4972, allocations: 6.027 MB / 0.5368 GB, free: 25.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4973, allocations: 12.72 kB / 0.5368 GB, free: 25.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007119/0.5044, allocations: 1.221 MB / 0.538 GB, free: 24.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007818/0.5122, allocations: 3.043 MB / 0.5409 GB, free: 23.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/0.5128, allocations: 0.6744 MB / 0.5416 GB, free: 23.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002868/0.5157, allocations: 0.4912 MB / 0.5421 GB, free: 23.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.5354, allocations: 9.334 MB / 0.5512 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.5356, allocations: 2.688 kB / 0.5512 GB, free: 18.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008715/0.5365, allocations: 193.9 kB / 0.5514 GB, free: 18.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-05/0.5365, allocations: 116 kB / 0.5515 GB, free: 18.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.5569, allocations: 12.57 MB / 0.5638 GB, free: 9.422 MB / 378.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.06874/0.6257, allocations: 30.06 MB / 0.5931 GB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06219/0.6879, allocations: 41.23 MB / 0.6334 GB, free: 2.922 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00955/0.6975, allocations: 5.05 MB / 0.6383 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05656/0.7541, allocations: 20.76 MB / 0.6586 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-05/0.7543, allocations: 69.27 kB / 0.6587 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006738/0.761, allocations: 0.9582 MB / 0.6596 GB, free: 7.336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=324): time 2.199e-05/0.7611, allocations: 0 / 0.6596 GB, free: 7.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=376): time 0.3725/1.134, allocations: 24.44 MB / 0.6835 GB, free: 164.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.134, allocations: 90.42 kB / 0.6835 GB, free: 164.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.139, allocations: 2.929 MB / 0.6864 GB, free: 164.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.14, allocations: 88.39 kB / 0.6865 GB, free: 164.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.142, allocations: 2.163 MB / 0.6886 GB, free: 163.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002506/1.144, allocations: 1.295 MB / 0.6899 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/1.145, allocations: 99.97 kB / 0.69 GB, free: 162.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003669/1.145, allocations: 0.4969 MB / 0.6904 GB, free: 162.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006462/1.152, allocations: 2.939 MB / 0.6933 GB, free: 162.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008327/1.16, allocations: 4.463 MB / 0.6977 GB, free: 160.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.175, allocations: 7.77 MB / 0.7053 GB, free: 157.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002123/1.175, allocations: 14.12 kB / 0.7053 GB, free: 157.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.06251/1.238, allocations: 13.81 MB / 0.7188 GB, free: 152.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00012/1.238, allocations: 27.03 kB / 0.7188 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.238, allocations: 52.53 kB / 0.7188 GB, free: 152.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008763/1.247, allocations: 3.484 MB / 0.7222 GB, free: 151.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/1.253, allocations: 1.275 MB / 0.7235 GB, free: 150.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02878/1.281, allocations: 16.63 MB / 0.7397 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005825/1.287, allocations: 356.8 kB / 0.7401 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.289, allocations: 279.8 kB / 0.7403 GB, free: 134.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 218 * 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 (599): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.004325/1.293, allocations: 1.454 MB / 0.7417 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.294, allocations: 343.6 kB / 0.7421 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03496/1.329, allocations: 9.664 MB / 0.7515 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.401e-05/1.329, allocations: 40 kB / 0.7515 GB, free: 123.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/1.33, allocations: 8.812 kB / 0.7516 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001559/1.33, allocations: 20.47 kB / 0.7516 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04579/1.375, allocations: 15.42 MB / 0.7666 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/1.376, allocations: 6.688 kB / 0.7666 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004291/1.38, allocations: 0.849 MB / 0.7675 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005725/1.386, allocations: 2.139 MB / 0.7696 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009844/1.387, allocations: 135.9 kB / 0.7697 GB, free: 104.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/1.406, allocations: 11.46 MB / 0.7809 GB, free: 92.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.406, allocations: 7.234 kB / 0.7809 GB, free: 92.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03724/1.443, allocations: 12.95 MB / 0.7935 GB, free: 79.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003178/1.446, allocations: 0.9335 MB / 0.7944 GB, free: 78.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000951/1.447, allocations: 95.97 kB / 0.7945 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/1.45, allocations: 251.3 kB / 0.7948 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/1.451, allocations: 458.3 kB / 0.7952 GB, free: 78.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003301/1.451, allocations: 148.5 kB / 0.7953 GB, free: 77.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002446/1.454, allocations: 1.965 MB / 0.7973 GB, free: 76.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.454, allocations: 0 / 0.7973 GB, free: 76.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008274/1.462, allocations: 2.018 MB / 0.7992 GB, free: 74.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 19 (solution.temperature,OxyRHm[1].logn,OxyRHm[2].logn,OxyRHm[3].logn,OxyRHm[4].logn,DeoxyRHm[1].logn,DeoxyRHm[2].logn,DeoxyRHm[3].logn,DeoxyRHm[4].logn,OxyTHm[1].logn,OxyTHm[2].logn,OxyTHm[3].logn,OxyTHm[4].logn,DeoxyTHm[1].logn,DeoxyTHm[2].logn,DeoxyTHm[3].logn,DeoxyTHm[4].logn,oxygen_unbound.logn,H2O.logn) * 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 (408): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (9,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002773/1.465, allocations: 1.264 MB / 0.8005 GB, free: 73.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.478, allocations: 7.379 MB / 0.8077 GB, free: 65.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.478, allocations: 0 / 0.8077 GB, free: 65.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006904/1.485, allocations: 4.081 MB / 0.8117 GB, free: 61.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004995/1.49, allocations: 0.7212 MB / 0.8124 GB, free: 60.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.509, allocations: 13.05 MB / 0.8251 GB, free: 47.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002249/1.512, allocations: 3.308 MB / 0.8283 GB, free: 44.38 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004815/1.516, allocations: 1.596 MB / 0.8299 GB, free: 42.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.518, allocations: 451.2 kB / 0.8303 GB, free: 42.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/1.518, allocations: 0 / 0.8303 GB, free: 42.37 MB / 490.7 MB Notification: Performance of Templates: time 0.3538/1.872, allocations: 86.34 MB / 0.9147 GB, free: 120.4 MB / 490.7 MB make -j1 -f Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile (rm -f Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1)