Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0007044/0.0007044, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009429/0.001647, allocations: 435.8 kB / 10.33 MB, free: 368 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.000709/0.000709, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008797/0.001589, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9562/0.9562, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09677/1.053, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08347/0.08347, allocations: 17.44 MB / 261.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01052/0.09398, allocations: 6.971 MB / 268.4 MB, free: 6.406 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/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_master_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_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 269.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.489e-05, allocations: 2.312 kB / 269.7 MB, free: 5.105 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/Obsolete.mo:14335:7-14335: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.1-master/Obsolete.mo:14335:7-14335: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.1704/0.1704, allocations: 9.296 MB / 279 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.1859, allocations: 15.82 MB / 294.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.1875, allocations: 32.06 kB / 294.8 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008846/0.1884, allocations: 452.8 kB / 295.3 MB, free: 6.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00379/0.1921, allocations: 1.557 MB / 296.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006657/0.1988, allocations: 2.448 MB / 299.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008603/0.2074, allocations: 7.58 MB / 306.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.213, allocations: 4.587 MB / 311.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.2232, allocations: 6.579 MB / 318 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007278/0.2305, allocations: 4.613 MB / 322.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.2329, allocations: 0.6758 MB / 323.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006832/0.2397, allocations: 2.145 MB / 325.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002821/0.2425, allocations: 1.165 MB / 326.6 MB, free: 9.398 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006009/0.2486, allocations: 1.829 MB / 328.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.2614, allocations: 7.547 MB / 336 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-05/0.2614, allocations: 4 kB / 336 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2614, allocations: 0 / 336 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002301/0.2616, allocations: 0 / 336 MB, free: 15.99 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: 1226 * Number of variables: 1226 Notification: Performance of Generate backend data structure: time 0.01075/0.2724, allocations: 7.605 MB / 343.6 MB, free: 8.324 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2724, allocations: 8.031 kB / 343.6 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.2766, allocations: 2.025 MB / 345.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003742/0.2803, allocations: 1.989 MB / 347.6 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/0.2808, allocations: 1.007 MB / 348.6 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.2818, allocations: 0.4885 MB / 349.1 MB, free: 2.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006285/0.2881, allocations: 5.216 MB / 354.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/0.2882, allocations: 192 / 354.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.2886, allocations: 204.1 kB / 354.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.149e-05/0.2887, allocations: 116 kB / 354.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005636/0.2943, allocations: 4.451 MB / 359.1 MB, free: 8.445 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.02294/0.3173, allocations: 13.7 MB / 372.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03573/0.353, allocations: 29.97 MB / 402.8 MB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.3562, allocations: 1.535 MB / 404.3 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01796/0.3742, allocations: 7.721 MB / 412 MB, free: 3.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/0.3742, allocations: 65.11 kB / 412.1 MB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003199/0.3774, allocations: 1.156 MB / 413.2 MB, free: 1.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=324): time 1.057e-05/0.3774, allocations: 0 / 413.2 MB, free: 1.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=376): time 0.03671/0.4141, allocations: 11.37 MB / 424.6 MB, free: 6.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4142, allocations: 90.36 kB / 424.7 MB, free: 6.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.4164, allocations: 2.364 MB / 427.1 MB, free: 3.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000716/0.4171, allocations: 89.7 kB / 427.2 MB, free: 3.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/0.4179, allocations: 1.882 MB / 429 MB, free: 1.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/0.419, allocations: 1.352 MB / 430.4 MB, free: 468 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1432/0.5622, allocations: 0.8782 MB / 431.3 MB, free: 112.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.5623, allocations: 303.4 kB / 431.6 MB, free: 112.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.564, allocations: 0.807 MB / 432.4 MB, free: 112.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.566, allocations: 2.224 MB / 434.6 MB, free: 110.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.5701, allocations: 3.627 MB / 438.2 MB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.374e-05/0.5701, allocations: 14.81 kB / 438.2 MB, free: 108.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.0221/0.5922, allocations: 6.072 MB / 444.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.5923, allocations: 27.78 kB / 444.3 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.22e-05/0.5924, allocations: 51.78 kB / 444.4 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/0.6048, allocations: 5.617 MB / 450 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/0.6085, allocations: 1.412 MB / 451.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.619, allocations: 6.078 MB / 457.5 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.6219, allocations: 154.8 kB / 457.6 MB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004367/0.6224, allocations: 221.5 kB / 457.9 MB, free: 103.8 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.00147/0.6238, allocations: 423 kB / 458.3 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/0.6245, allocations: 310.5 kB / 458.6 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.637, allocations: 4.445 MB / 463 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.6371, allocations: 42 kB / 463.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.6371, allocations: 3.5 kB / 463.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.6372, allocations: 19.92 kB / 463.1 MB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.654, allocations: 6.877 MB / 470 MB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.1e-05/0.6541, allocations: 4 kB / 470 MB, free: 96.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/0.6567, allocations: 0.9311 MB / 470.9 MB, free: 95.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/0.6581, allocations: 444.8 kB / 471.3 MB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006749/0.6648, allocations: 2.37 MB / 473.7 MB, free: 93.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/0.6652, allocations: 127.9 kB / 473.8 MB, free: 92.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/0.6723, allocations: 5.273 MB / 479.1 MB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.6723, allocations: 7.703 kB / 479.1 MB, free: 87.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.6858, allocations: 5.27 MB / 484.4 MB, free: 82.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/0.6865, allocations: 98.81 kB / 484.5 MB, free: 82.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.6877, allocations: 84 kB / 484.6 MB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005575/0.6883, allocations: 373.6 kB / 484.9 MB, free: 81.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.6885, allocations: 107.9 kB / 485 MB, free: 81.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008988/0.6894, allocations: 1.145 MB / 486.2 MB, free: 80.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6894, allocations: 0 / 486.2 MB, free: 80.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003899/0.6933, allocations: 1.775 MB / 487.9 MB, free: 78.86 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.001138/0.6944, allocations: 0.8745 MB / 488.8 MB, free: 78.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004724/0.6991, allocations: 3.155 MB / 492 MB, free: 75.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001059/0.6992, allocations: 68.22 kB / 492 MB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/0.7015, allocations: 1.811 MB / 493.9 MB, free: 73.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.7039, allocations: 1.183 MB / 495 MB, free: 72.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/0.7327, allocations: 8.601 MB / 0.4918 GB, free: 63.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.7338, allocations: 1.095 MB / 0.4929 GB, free: 62.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002585/0.7364, allocations: 0.5944 MB / 0.4935 GB, free: 62.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/0.7381, allocations: 0.9519 MB / 0.4944 GB, free: 61.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7381, allocations: 0 / 0.4944 GB, free: 61.07 MB / 410.7 MB Notification: Performance of Templates: time 0.2122/0.9503, allocations: 94.6 MB / 0.5868 GB, free: 140.1 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.300970424897969]