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.001/0.001, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.002122, allocations: 440 kB / 10.41 MB, free: 284 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.0007098/0.0007098, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009254/0.001635, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9188/0.9188, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09899/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.08489/0.08489, allocations: 17.36 MB / 261.5 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009429/0.09432, allocations: 6.93 MB / 268.4 MB, free: 6.422 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.142e-06/1.142e-06, allocations: 0 / 269.8 MB, free: 5.102 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.39e-05, allocations: 6.25 kB / 269.8 MB, free: 5.094 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.135/0.135, allocations: 9.307 MB / 279.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1515, allocations: 15.81 MB / 294.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.153, allocations: 35.91 kB / 294.9 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1541, allocations: 456.1 kB / 295.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.1583, allocations: 1.564 MB / 296.9 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.1646, allocations: 2.441 MB / 299.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00641/0.171, allocations: 7.578 MB / 306.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.1756, allocations: 4.58 MB / 311.5 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008545/0.1841, allocations: 6.59 MB / 318.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.1908, allocations: 4.613 MB / 322.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002167/0.193, allocations: 0.6758 MB / 323.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006399/0.1994, allocations: 2.149 MB / 325.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.2009, allocations: 1.169 MB / 326.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003695/0.2046, allocations: 1.833 MB / 328.6 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.216, allocations: 7.539 MB / 336.1 MB, free: 8 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.216, allocations: 3.938 kB / 336.1 MB, free: 4 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.216, allocations: 0 / 336.1 MB, free: 4 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002647/0.2163, allocations: 0 / 336.1 MB, free: 4 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.01023/0.2265, allocations: 7.594 MB / 343.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2266, allocations: 8.031 kB / 343.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.231, allocations: 2.025 MB / 345.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.2359, allocations: 1.993 MB / 347.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005479/0.2365, allocations: 0.999 MB / 348.7 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/0.2378, allocations: 0.4885 MB / 349.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008944/0.2468, allocations: 5.216 MB / 354.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.088e-05/0.2469, allocations: 8.125 kB / 354.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005826/0.2475, allocations: 196.1 kB / 354.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/0.2475, allocations: 120 kB / 354.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007051/0.2546, allocations: 4.447 MB / 359.2 MB, free: 8.473 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.02847/0.283, allocations: 13.7 MB / 372.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04817/0.3312, allocations: 29.98 MB / 402.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.3344, allocations: 1.547 MB / 404.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01659/0.351, allocations: 7.709 MB / 412.1 MB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.3511, allocations: 68.98 kB / 412.2 MB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002471/0.3536, allocations: 1.156 MB / 413.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=324): time 1.24e-05/0.3536, allocations: 0 / 413.4 MB, free: 1.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=375): time 0.03961/0.3932, allocations: 12.15 MB / 425.5 MB, free: 5.555 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.3933, allocations: 90.36 kB / 425.6 MB, free: 5.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.3958, allocations: 2.368 MB / 428 MB, free: 3.051 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007534/0.3966, allocations: 93.64 kB / 428 MB, free: 2.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009956/0.3976, allocations: 1.878 MB / 429.9 MB, free: 1.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1422/0.5398, allocations: 1.339 MB / 431.3 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001533/0.5413, allocations: 0.8791 MB / 432.1 MB, free: 113.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.5414, allocations: 304 kB / 432.4 MB, free: 113.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5428, allocations: 0.8059 MB / 433.2 MB, free: 113.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.5445, allocations: 2.216 MB / 435.5 MB, free: 111.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.5486, allocations: 3.769 MB / 439.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.606e-05/0.5487, allocations: 14.06 kB / 439.2 MB, free: 109.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.02112/0.5698, allocations: 6.064 MB / 445.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.5698, allocations: 23.81 kB / 445.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/0.5699, allocations: 49.25 kB / 445.4 MB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01177/0.5817, allocations: 5.626 MB / 451 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.5851, allocations: 1.41 MB / 452.4 MB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.5958, allocations: 6.089 MB / 458.5 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.5988, allocations: 154.6 kB / 458.7 MB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006554/0.5994, allocations: 221.4 kB / 458.9 MB, free: 104.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (598): * Single equations (assignments): 595 * 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.0014/0.6008, allocations: 423.8 kB / 459.3 MB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.6014, allocations: 315.3 kB / 459.6 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.6138, allocations: 4.442 MB / 464 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-05/0.6139, allocations: 39.75 kB / 464.1 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.6139, allocations: 4 kB / 464.1 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/0.614, allocations: 19.92 kB / 464.1 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.6311, allocations: 6.831 MB / 470.9 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.6311, allocations: 4 kB / 470.9 MB, free: 96.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/0.6336, allocations: 0.9291 MB / 471.9 MB, free: 95.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.6348, allocations: 450.8 kB / 472.3 MB, free: 95.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006411/0.6412, allocations: 2.362 MB / 474.7 MB, free: 92.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005247/0.6418, allocations: 134.9 kB / 474.8 MB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007196/0.649, allocations: 5.274 MB / 480.1 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.649, allocations: 7.75 kB / 480.1 MB, free: 87.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/0.6623, allocations: 5.263 MB / 485.3 MB, free: 82.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006309/0.6629, allocations: 91.97 kB / 485.4 MB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.6642, allocations: 87.98 kB / 485.5 MB, free: 81.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005985/0.6648, allocations: 377.4 kB / 485.9 MB, free: 81.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.665, allocations: 111.9 kB / 486 MB, free: 81.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008903/0.6659, allocations: 1.14 MB / 487.1 MB, free: 80.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6659, allocations: 0 / 487.1 MB, free: 80.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004644/0.6705, allocations: 1.776 MB / 488.9 MB, free: 78.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (407): * Single equations (assignments): 404 * 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.001415/0.6719, allocations: 0.8673 MB / 489.8 MB, free: 78.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005416/0.6773, allocations: 3.224 MB / 493 MB, free: 75.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001414/0.6775, allocations: 67.72 kB / 493.1 MB, free: 75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/0.6803, allocations: 2.052 MB / 495.1 MB, free: 73.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/0.6836, allocations: 4.607 MB / 499.7 MB, free: 67.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02793/0.7115, allocations: 8.589 MB / 0.4964 GB, free: 59.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/0.7124, allocations: 1.091 MB / 0.4975 GB, free: 57.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002059/0.7145, allocations: 0.5927 MB / 0.498 GB, free: 57.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.7162, allocations: 0.9519 MB / 0.499 GB, free: 56.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/0.7162, allocations: 0 / 0.499 GB, free: 56.43 MB / 410.7 MB Notification: Performance of Templates: time 0.2244/0.9405, allocations: 94.95 MB / 0.5917 GB, free: 138.5 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 sys.exit(0), Time elapsed: 16.14372869580984]