Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007859/0.0007859, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.00202, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.00214, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9853/0.9853, allocations: 177.1 MB / 189.6 MB, free: 5.34 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1158/0.1158, allocations: 17.37 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01076/0.1265, allocations: 6.933 MB / 268.3 MB, free: 6.543 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 269.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.676e-06/9.918e-06, allocations: 2.312 kB / 269.6 MB, free: 5.246 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC): time 0.1391/0.1392, allocations: 9.305 MB / 278.9 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.1556, allocations: 15.82 MB / 294.7 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.1576, allocations: 30.88 kB / 294.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1586, allocations: 460.2 kB / 295.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.1626, allocations: 1.553 MB / 296.7 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.1687, allocations: 2.447 MB / 299.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005225/0.1739, allocations: 7.586 MB / 306.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003295/0.1772, allocations: 4.572 MB / 311.3 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/0.1819, allocations: 6.598 MB / 317.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003999/0.1859, allocations: 4.605 MB / 322.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007885/0.1867, allocations: 0.6758 MB / 323.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004686/0.1914, allocations: 2.149 MB / 325.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009529/0.1923, allocations: 1.161 MB / 326.5 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.1947, allocations: 1.829 MB / 328.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.204, allocations: 7.547 MB / 335.9 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.001e-05/0.204, allocations: 0 / 335.9 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.204, allocations: 4 kB / 335.9 MB, free: 216 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.2041, allocations: 0 / 335.9 MB, free: 216 kB / 314.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.008914/0.213, allocations: 7.605 MB / 343.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.213, allocations: 8.031 kB / 343.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00368/0.2167, allocations: 2.025 MB / 345.5 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.2197, allocations: 1.989 MB / 347.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004874/0.2202, allocations: 0.999 MB / 348.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006681/0.2208, allocations: 0.4924 MB / 349 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005273/0.2261, allocations: 5.216 MB / 354.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.223e-05/0.2262, allocations: 8.125 kB / 354.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004172/0.2266, allocations: 196.1 kB / 354.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.2267, allocations: 116 kB / 354.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005047/0.2317, allocations: 4.451 MB / 359 MB, free: 8.668 MB / 346.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.01808/0.2498, allocations: 13.7 MB / 372.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03453/0.2843, allocations: 29.98 MB / 402.7 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002631/0.2869, allocations: 1.539 MB / 404.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/0.2994, allocations: 7.716 MB / 411.9 MB, free: 3.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.2994, allocations: 65.11 kB / 412 MB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002252/0.3017, allocations: 1.16 MB / 413.1 MB, free: 1.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=324): time 7.103e-06/0.3017, allocations: 0 / 413.1 MB, free: 1.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=376): time 0.03442/0.3361, allocations: 11.36 MB / 424.5 MB, free: 6.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3361, allocations: 90.36 kB / 424.6 MB, free: 6.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.338, allocations: 2.372 MB / 427 MB, free: 4.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.3383, allocations: 85.7 kB / 427 MB, free: 3.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007856/0.339, allocations: 1.882 MB / 428.9 MB, free: 2.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000815/0.3399, allocations: 1.348 MB / 430.3 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1374/0.4773, allocations: 0.8772 MB / 431.2 MB, free: 113 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.4773, allocations: 303.3 kB / 431.5 MB, free: 112.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.4786, allocations: 0.8081 MB / 432.3 MB, free: 112.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.4803, allocations: 2.227 MB / 434.5 MB, free: 110.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/0.4838, allocations: 3.624 MB / 438.1 MB, free: 109.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/0.4838, allocations: 14.44 kB / 438.1 MB, free: 109.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.02093/0.5047, allocations: 6.069 MB / 444.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.5047, allocations: 31.84 kB / 444.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/0.5048, allocations: 47.56 kB / 444.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/0.5165, allocations: 5.616 MB / 449.9 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.5194, allocations: 1.412 MB / 451.3 MB, free: 108.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009601/0.529, allocations: 6.081 MB / 457.4 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5309, allocations: 153.7 kB / 457.5 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.5312, allocations: 223.8 kB / 457.7 MB, free: 104.2 MB / 410.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.001173/0.5323, allocations: 422.8 kB / 458.2 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004776/0.5328, allocations: 310.8 kB / 458.5 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.5449, allocations: 4.444 MB / 462.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5449, allocations: 39.88 kB / 462.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.545, allocations: 6.406 kB / 463 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.545, allocations: 23.92 kB / 463 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01442/0.5594, allocations: 6.87 MB / 469.8 MB, free: 97.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5594, allocations: 0 / 469.8 MB, free: 97.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.5614, allocations: 0.9314 MB / 470.8 MB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008118/0.5622, allocations: 445.6 kB / 471.2 MB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006448/0.5687, allocations: 2.377 MB / 473.6 MB, free: 93.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.5688, allocations: 126 kB / 473.7 MB, free: 93.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006664/0.5755, allocations: 5.278 MB / 479 MB, free: 87.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5755, allocations: 4 kB / 479 MB, free: 87.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.5878, allocations: 5.274 MB / 484.3 MB, free: 82.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.5882, allocations: 91.97 kB / 484.4 MB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.5891, allocations: 84 kB / 484.4 MB, free: 82.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004648/0.5896, allocations: 374.1 kB / 484.8 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.5898, allocations: 111.9 kB / 484.9 MB, free: 82.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007439/0.5905, allocations: 1.143 MB / 486.1 MB, free: 81.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5905, allocations: 0 / 486.1 MB, free: 81.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003233/0.5937, allocations: 1.772 MB / 487.8 MB, free: 79.34 MB / 410.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.0009142/0.5947, allocations: 0.8655 MB / 488.7 MB, free: 78.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003945/0.5986, allocations: 3.155 MB / 491.9 MB, free: 75.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.821e-05/0.5987, allocations: 79.02 kB / 491.9 MB, free: 75.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.6007, allocations: 1.805 MB / 493.7 MB, free: 73.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.6024, allocations: 1.182 MB / 494.9 MB, free: 72.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02531/0.6277, allocations: 8.601 MB / 0.4917 GB, free: 64.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.6284, allocations: 1.099 MB / 0.4928 GB, free: 63.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001408/0.6298, allocations: 0.5984 MB / 0.4934 GB, free: 62.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/0.6314, allocations: 0.948 MB / 0.4943 GB, free: 61.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6314, allocations: 0 / 0.4943 GB, free: 61.55 MB / 410.7 MB Notification: Performance of Templates: time 0.2074/0.8388, allocations: 94.59 MB / 0.5867 GB, free: 140.8 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.30551880504936]