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.001965/0.001965, allocations: 93.47 kB / 19.44 MB, free: 336 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.002082/0.002082, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.713/1.713, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.1414/0.1414, allocations: 17.36 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.482e-06/1.482e-06, allocations: 0 / 352.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.116e-05, allocations: 2.312 kB / 352.7 MB, free: 10.31 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.04525/0.04528, allocations: 31.01 MB / 383.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04027/0.08555, allocations: 26.34 MB / 410.1 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.08711, allocations: 31.75 kB / 410.1 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.08875, allocations: 0.5541 MB / 410.7 MB, free: 392 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.142/0.2308, allocations: 2.242 MB / 412.9 MB, free: 32.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009029/0.2398, allocations: 3.683 MB / 416.6 MB, free: 31.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.247, allocations: 7.629 MB / 424.2 MB, free: 29.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.2519, allocations: 4.56 MB / 428.8 MB, free: 27.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00823/0.2601, allocations: 6.341 MB / 435.1 MB, free: 25.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007195/0.2673, allocations: 4.641 MB / 439.8 MB, free: 23.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002034/0.2693, allocations: 0.6765 MB / 440.4 MB, free: 23.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008997/0.2783, allocations: 3.214 MB / 443.7 MB, free: 20.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.2803, allocations: 1.83 MB / 445.5 MB, free: 19.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004247/0.2845, allocations: 2.552 MB / 448 MB, free: 16.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.3015, allocations: 12.36 MB / 460.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3015, allocations: 0 / 460.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3015, allocations: 0 / 460.4 MB, free: 5.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.3017, allocations: 0 / 460.4 MB, free: 5.07 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.01886/0.3206, allocations: 7.653 MB / 468 MB, free: 13.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3206, allocations: 8.031 kB / 468.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008/0.3286, allocations: 2.05 MB / 470.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009246/0.3379, allocations: 2.955 MB / 473.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001268/0.3391, allocations: 1.007 MB / 474.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002091/0.3412, allocations: 496.2 kB / 474.5 MB, free: 6.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/0.3606, allocations: 8.979 MB / 483.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.044e-05/0.3607, allocations: 2.844 kB / 483.5 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007205/0.3614, allocations: 192.4 kB / 483.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.3615, allocations: 119.9 kB / 483.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02266/0.3841, allocations: 11.38 MB / 495.2 MB, free: 2.094 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.06751/0.4517, allocations: 28.78 MB / 0.5117 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06661/0.5183, allocations: 25.37 MB / 0.5365 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0093/0.5276, allocations: 4.181 MB / 0.5406 GB, free: 8.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0391/0.5667, allocations: 16.44 MB / 0.5566 GB, free: 8.453 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.5667, allocations: 71.22 kB / 0.5567 GB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005063/0.5718, allocations: 1.199 MB / 0.5579 GB, free: 7.234 MB / 442.7 MB Notification: Performance of pre-optimization done (n=324): time 1.018e-05/0.5718, allocations: 4 kB / 0.5579 GB, free: 7.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=376): time 0.2394/0.8113, allocations: 21.9 MB / 0.5793 GB, free: 150.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.8113, allocations: 92.7 kB / 0.5794 GB, free: 150.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/0.8152, allocations: 3.293 MB / 0.5826 GB, free: 149 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009228/0.8161, allocations: 85.45 kB / 0.5826 GB, free: 148.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.8174, allocations: 2.445 MB / 0.585 GB, free: 147.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/0.8189, allocations: 1.453 MB / 0.5865 GB, free: 146.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/0.8203, allocations: 1.094 MB / 0.5875 GB, free: 145.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.8204, allocations: 480.7 kB / 0.588 GB, free: 145.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003588/0.8239, allocations: 2.526 MB / 0.5905 GB, free: 144.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/0.8284, allocations: 4.814 MB / 0.5952 GB, free: 140.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008692/0.8371, allocations: 8.243 MB / 0.6032 GB, free: 133.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.766e-05/0.8371, allocations: 14.69 kB / 0.6032 GB, free: 133.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05262/0.8898, allocations: 12.44 MB / 0.6154 GB, free: 120.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.8898, allocations: 24 kB / 0.6154 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.05e-05/0.8899, allocations: 49.45 kB / 0.6154 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/0.9155, allocations: 7.035 MB / 0.6223 GB, free: 113.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005911/0.9214, allocations: 1.274 MB / 0.6235 GB, free: 112.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02991/0.9513, allocations: 18.5 MB / 0.6416 GB, free: 93.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/0.956, allocations: 248.7 kB / 0.6419 GB, free: 93.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008089/0.9568, allocations: 275.8 kB / 0.6421 GB, free: 93.15 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.002364/0.9591, allocations: 1.366 MB / 0.6435 GB, free: 91.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001073/0.9602, allocations: 461.8 kB / 0.6439 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03378/0.994, allocations: 8.728 MB / 0.6524 GB, free: 82.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.994, allocations: 40 kB / 0.6525 GB, free: 82.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.9941, allocations: 4 kB / 0.6525 GB, free: 82.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/0.9942, allocations: 22.55 kB / 0.6525 GB, free: 82.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04382/1.038, allocations: 14.03 MB / 0.6662 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/1.038, allocations: 4 kB / 0.6662 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004642/1.043, allocations: 0.8568 MB / 0.667 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01612/1.059, allocations: 3.15 MB / 0.6701 GB, free: 64.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000983/1.06, allocations: 135.9 kB / 0.6702 GB, free: 64.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02057/1.08, allocations: 13.27 MB / 0.6832 GB, free: 50.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.08, allocations: 11.92 kB / 0.6832 GB, free: 50.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03648/1.117, allocations: 11.84 MB / 0.6948 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.12, allocations: 0.7728 MB / 0.6955 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006991/1.12, allocations: 99.73 kB / 0.6956 GB, free: 38.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/1.123, allocations: 158.5 kB / 0.6958 GB, free: 37.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001024/1.124, allocations: 0.4982 MB / 0.6962 GB, free: 37.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/1.124, allocations: 147.9 kB / 0.6964 GB, free: 37.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002233/1.126, allocations: 1.812 MB / 0.6982 GB, free: 35.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.126, allocations: 4 kB / 0.6982 GB, free: 35.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005723/1.132, allocations: 2.06 MB / 0.7002 GB, free: 33.62 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.002202/1.134, allocations: 1.372 MB / 0.7015 GB, free: 32.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01283/1.147, allocations: 6.892 MB / 0.7082 GB, free: 25.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.147, allocations: 4 kB / 0.7082 GB, free: 25.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/1.153, allocations: 3.606 MB / 0.7118 GB, free: 21.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.157, allocations: 0.8442 MB / 0.7126 GB, free: 21.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.173, allocations: 10.33 MB / 0.7227 GB, free: 10.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.174, allocations: 2.518 MB / 0.7251 GB, free: 8.258 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0035/1.178, allocations: 1.291 MB / 0.7264 GB, free: 7.098 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/1.179, allocations: 459 kB / 0.7268 GB, free: 6.652 MB / 442.7 MB Notification: Performance of SimCode: time 1.893e-06/1.179, allocations: 4 kB / 0.7268 GB, free: 6.652 MB / 442.7 MB Notification: Performance of Templates: time 0.2593/1.438, allocations: 93.37 MB / 0.818 GB, free: 75.29 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: 9.661278903018683]