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.001498/0.001498, allocations: 92.7 kB / 19.44 MB, free: 324 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.001616/0.001616, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.516/1.516, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1373/0.1373, allocations: 17.38 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.553e-06/1.553e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.611e-05, allocations: 6.25 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.04636/0.0464, allocations: 29.9 MB / 382.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03859/0.08499, allocations: 23.1 MB / 405.7 MB, free: 5.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.08677, allocations: 31.75 kB / 405.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002469/0.08924, allocations: 0.558 MB / 406.3 MB, free: 4.758 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008444/0.09769, allocations: 2.241 MB / 408.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1486/0.2463, allocations: 3.675 MB / 412.2 MB, free: 33.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007139/0.2534, allocations: 7.64 MB / 419.9 MB, free: 32.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005621/0.259, allocations: 4.572 MB / 424.5 MB, free: 31.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/0.2695, allocations: 6.341 MB / 430.8 MB, free: 29.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008477/0.278, allocations: 4.605 MB / 435.4 MB, free: 28.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00213/0.2801, allocations: 0.6746 MB / 436.1 MB, free: 28.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01007/0.2902, allocations: 3.21 MB / 439.3 MB, free: 25.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.2928, allocations: 1.833 MB / 441.1 MB, free: 23.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005602/0.2984, allocations: 2.551 MB / 443.7 MB, free: 21.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.3168, allocations: 12.32 MB / 456 MB, free: 9.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3168, allocations: 0 / 456 MB, free: 9.949 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3168, allocations: 0 / 456 MB, free: 9.949 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003545/0.3171, allocations: 0 / 456 MB, free: 9.949 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.01921/0.3364, allocations: 7.189 MB / 463.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3364, allocations: 8.031 kB / 463.2 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007566/0.344, allocations: 2.055 MB / 465.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008427/0.3524, allocations: 3.365 MB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/0.3535, allocations: 1.006 MB / 469.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/0.3557, allocations: 0.4973 MB / 470.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/0.3789, allocations: 9.465 MB / 479.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.379, allocations: 3.562 kB / 479.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/0.3803, allocations: 193.5 kB / 479.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.3804, allocations: 116 kB / 479.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02783/0.4083, allocations: 12.66 MB / 492.5 MB, free: 5.27 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.06275/0.471, allocations: 26.87 MB / 0.5072 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06362/0.5346, allocations: 26.14 MB / 0.5328 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009262/0.5439, allocations: 4.72 MB / 0.5374 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03776/0.5817, allocations: 17.09 MB / 0.5541 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.858e-05/0.5818, allocations: 72.67 kB / 0.5541 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005016/0.5868, allocations: 1.259 MB / 0.5554 GB, free: 10.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=324): time 7.825e-06/0.5868, allocations: 2.719 kB / 0.5554 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=376): time 0.2266/0.8134, allocations: 24.28 MB / 0.5791 GB, free: 151.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.8134, allocations: 93.94 kB / 0.5792 GB, free: 151.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.8164, allocations: 2.839 MB / 0.5819 GB, free: 150.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007065/0.8172, allocations: 85.61 kB / 0.582 GB, free: 150.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009677/0.8181, allocations: 2.212 MB / 0.5842 GB, free: 149.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.8191, allocations: 1.348 MB / 0.5855 GB, free: 148.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.8204, allocations: 0.9752 MB / 0.5865 GB, free: 147.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.8204, allocations: 309 kB / 0.5867 GB, free: 147.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/0.8241, allocations: 2.959 MB / 0.5896 GB, free: 146.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004282/0.8284, allocations: 4.493 MB / 0.594 GB, free: 142.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008572/0.837, allocations: 7.814 MB / 0.6017 GB, free: 136.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.202e-05/0.837, allocations: 12 kB / 0.6017 GB, free: 136.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05225/0.8893, allocations: 14.04 MB / 0.6154 GB, free: 122.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.8893, allocations: 24 kB / 0.6154 GB, free: 122.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.764e-05/0.8894, allocations: 51.62 kB / 0.6154 GB, free: 122.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02524/0.9146, allocations: 7.678 MB / 0.6229 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/0.9197, allocations: 1.261 MB / 0.6242 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02829/0.948, allocations: 17.9 MB / 0.6417 GB, free: 95.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/0.9521, allocations: 243.8 kB / 0.6419 GB, free: 95.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/0.9526, allocations: 286.5 kB / 0.6422 GB, free: 95.1 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.002212/0.9548, allocations: 1.45 MB / 0.6436 GB, free: 93.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009228/0.9557, allocations: 469.7 kB / 0.644 GB, free: 93.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03381/0.9895, allocations: 9.618 MB / 0.6534 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/0.9896, allocations: 36 kB / 0.6535 GB, free: 83.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.9896, allocations: 8 kB / 0.6535 GB, free: 83.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/0.9897, allocations: 19.92 kB / 0.6535 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04043/1.03, allocations: 14.36 MB / 0.6675 GB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.342e-05/1.03, allocations: 4 kB / 0.6675 GB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004387/1.035, allocations: 0.8476 MB / 0.6683 GB, free: 68.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/1.05, allocations: 3.366 MB / 0.6716 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008185/1.051, allocations: 135.9 kB / 0.6718 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/1.072, allocations: 12.13 MB / 0.6836 GB, free: 52.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.072, allocations: 7.938 kB / 0.6836 GB, free: 52.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03822/1.11, allocations: 13.06 MB / 0.6964 GB, free: 39.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002622/1.113, allocations: 0.9024 MB / 0.6972 GB, free: 38.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/1.114, allocations: 91.97 kB / 0.6973 GB, free: 38.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.116, allocations: 167.8 kB / 0.6975 GB, free: 38.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.117, allocations: 474.2 kB / 0.6979 GB, free: 37.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003085/1.117, allocations: 143.9 kB / 0.6981 GB, free: 37.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002014/1.119, allocations: 1.845 MB / 0.6999 GB, free: 35.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/1.119, allocations: 0 / 0.6999 GB, free: 35.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006205/1.126, allocations: 2.063 MB / 0.7019 GB, free: 34.01 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.002229/1.128, allocations: 1.367 MB / 0.7032 GB, free: 33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.14, allocations: 7.075 MB / 0.7101 GB, free: 25.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.14, allocations: 2.656 kB / 0.7101 GB, free: 25.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006293/1.146, allocations: 3.783 MB / 0.7138 GB, free: 22.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/1.149, allocations: 0.8432 MB / 0.7147 GB, free: 21.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.164, allocations: 10.94 MB / 0.7253 GB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/1.167, allocations: 2.78 MB / 0.7281 GB, free: 7.535 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003779/1.17, allocations: 1.566 MB / 0.7296 GB, free: 5.996 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.172, allocations: 463 kB / 0.73 GB, free: 5.547 MB / 442.7 MB Notification: Performance of SimCode: time 1.243e-06/1.172, allocations: 0 / 0.73 GB, free: 5.547 MB / 442.7 MB Notification: Performance of Templates: time 0.257/1.429, allocations: 92.1 MB / 0.82 GB, free: 78.72 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.296941048000008]