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.001351/0.001351, allocations: 88.72 kB / 19.43 MB, free: 352 kB / 13.93 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.001523/0.001523, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 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 1.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1426/0.1426, allocations: 17.37 MB / 276.9 MB, free: 11.68 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.673e-06/1.673e-06, allocations: 3.938 kB / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.13e-05, allocations: 2.312 kB / 352.7 MB, free: 10.32 MB / 282.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.04551/0.04554, allocations: 29.87 MB / 382.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03693/0.08247, allocations: 23.1 MB / 405.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00193/0.0844, allocations: 35.69 kB / 405.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.08658, allocations: 0.558 MB / 406.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008105/0.09469, allocations: 2.245 MB / 408.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1528/0.2475, allocations: 3.674 MB / 412.2 MB, free: 33.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008269/0.2557, allocations: 7.63 MB / 419.8 MB, free: 32.17 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006207/0.2619, allocations: 4.575 MB / 424.4 MB, free: 31.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/0.2749, allocations: 6.342 MB / 430.8 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009194/0.2841, allocations: 4.607 MB / 435.4 MB, free: 27.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003218/0.2873, allocations: 0.6762 MB / 436 MB, free: 27.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/0.2982, allocations: 3.21 MB / 439.3 MB, free: 25.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003483/0.3017, allocations: 1.831 MB / 441.1 MB, free: 23.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008521/0.3102, allocations: 2.548 MB / 443.6 MB, free: 21.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02044/0.3306, allocations: 12.32 MB / 456 MB, free: 9.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3306, allocations: 0 / 456 MB, free: 9.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3306, allocations: 7.938 kB / 456 MB, free: 9.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004106/0.3311, allocations: 2.656 kB / 456 MB, free: 9.844 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.03044/0.3615, allocations: 7.183 MB / 463.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3616, allocations: 14.69 kB / 463.2 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01462/0.3762, allocations: 2.052 MB / 465.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.3915, allocations: 3.373 MB / 468.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/0.3932, allocations: 1.003 MB / 469.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/0.3961, allocations: 0.4924 MB / 470.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02596/0.4221, allocations: 9.464 MB / 479.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.4223, allocations: 192 / 479.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/0.4244, allocations: 197.5 kB / 479.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.4246, allocations: 119.4 kB / 479.9 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0319/0.4565, allocations: 12.66 MB / 492.5 MB, free: 5.172 MB / 362.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.07328/0.5297, allocations: 26.87 MB / 0.5072 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06603/0.5958, allocations: 26.15 MB / 0.5327 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/0.6061, allocations: 4.719 MB / 0.5374 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04477/0.6508, allocations: 17.1 MB / 0.5541 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.746e-05/0.6509, allocations: 68.48 kB / 0.5541 GB, free: 11.66 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00582/0.6567, allocations: 1.26 MB / 0.5553 GB, free: 10.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=324): time 1.241e-05/0.6568, allocations: 2.688 kB / 0.5553 GB, free: 10.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=376): time 0.2567/0.9135, allocations: 24.27 MB / 0.5791 GB, free: 151.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.9135, allocations: 91.73 kB / 0.5791 GB, free: 151.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/0.9172, allocations: 2.834 MB / 0.5819 GB, free: 150.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009604/0.9181, allocations: 85.7 kB / 0.582 GB, free: 150.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.9192, allocations: 2.211 MB / 0.5842 GB, free: 149.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/0.9208, allocations: 1.345 MB / 0.5855 GB, free: 148.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001412/0.9223, allocations: 0.9822 MB / 0.5864 GB, free: 147.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.9223, allocations: 306.9 kB / 0.5867 GB, free: 147.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/0.9265, allocations: 2.965 MB / 0.5896 GB, free: 146 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005217/0.9318, allocations: 4.484 MB / 0.594 GB, free: 142.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/0.9423, allocations: 7.813 MB / 0.6016 GB, free: 136.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-05/0.9423, allocations: 12 kB / 0.6016 GB, free: 136.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05864/1.001, allocations: 14.04 MB / 0.6153 GB, free: 122.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/1.001, allocations: 24 kB / 0.6154 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.779e-05/1.001, allocations: 48 kB / 0.6154 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02775/1.029, allocations: 7.678 MB / 0.6229 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005794/1.035, allocations: 1.266 MB / 0.6241 GB, free: 113.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03167/1.066, allocations: 17.9 MB / 0.6416 GB, free: 95.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.072, allocations: 250.5 kB / 0.6419 GB, free: 95.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001379/1.073, allocations: 283.8 kB / 0.6421 GB, free: 95 MB / 442.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.00515/1.078, allocations: 1.439 MB / 0.6435 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002656/1.081, allocations: 473.7 kB / 0.644 GB, free: 93.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03737/1.118, allocations: 9.62 MB / 0.6534 GB, free: 83.58 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.377e-05/1.118, allocations: 38.69 kB / 0.6534 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-05/1.118, allocations: 8 kB / 0.6534 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/1.119, allocations: 19.92 kB / 0.6534 GB, free: 83.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04979/1.168, allocations: 14.36 MB / 0.6675 GB, free: 69.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.633e-05/1.168, allocations: 4 kB / 0.6675 GB, free: 69.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004995/1.173, allocations: 0.8451 MB / 0.6683 GB, free: 68.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01768/1.191, allocations: 3.374 MB / 0.6716 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/1.192, allocations: 139.9 kB / 0.6717 GB, free: 64.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02298/1.215, allocations: 12.13 MB / 0.6836 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.215, allocations: 7.984 kB / 0.6836 GB, free: 52.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/1.26, allocations: 13.06 MB / 0.6963 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/1.263, allocations: 0.9054 MB / 0.6972 GB, free: 38.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.264, allocations: 87.98 kB / 0.6973 GB, free: 38.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.267, allocations: 163.8 kB / 0.6975 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/1.268, allocations: 474.2 kB / 0.6979 GB, free: 37.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000333/1.268, allocations: 150.6 kB / 0.6981 GB, free: 37.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002145/1.27, allocations: 1.843 MB / 0.6999 GB, free: 35.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.27, allocations: 0 / 0.6999 GB, free: 35.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006466/1.277, allocations: 2.059 MB / 0.7019 GB, free: 33.91 MB / 442.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.002564/1.28, allocations: 1.368 MB / 0.7032 GB, free: 32.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01345/1.293, allocations: 7.082 MB / 0.7101 GB, free: 25.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.293, allocations: 0 / 0.7101 GB, free: 25.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007571/1.301, allocations: 3.775 MB / 0.7138 GB, free: 21.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.304, allocations: 0.8492 MB / 0.7146 GB, free: 21.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.322, allocations: 10.94 MB / 0.7253 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/1.325, allocations: 2.784 MB / 0.728 GB, free: 7.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003992/1.329, allocations: 1.561 MB / 0.7296 GB, free: 5.895 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/1.33, allocations: 459.4 kB / 0.73 GB, free: 5.449 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/1.33, allocations: 4 kB / 0.73 GB, free: 5.445 MB / 442.7 MB Notification: Performance of Templates: time 0.2503/1.58, allocations: 91.95 MB / 0.8198 GB, free: 78.77 MB / 442.7 MB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.294355691992678]