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.001533/0.001533, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.0017/0.0017, allocations: 212.5 kB / 22.99 MB, free: 4.957 MB / 14.72 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.128/0.128, allocations: 23.92 MB / 337.1 MB, free: 10.96 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 59.91 kB / 472.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2656, allocations: 59.88 MB / 0.5199 GB, free: 9.77 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.06898/0.3345, allocations: 29.27 MB / 0.5484 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03004/0.3646, allocations: 23.05 MB / 0.5709 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.3662, allocations: 31.75 kB / 0.571 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.3677, allocations: 0.5543 MB / 0.5715 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005513/0.3732, allocations: 2.161 MB / 0.5736 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008909/0.3821, allocations: 3.574 MB / 0.5771 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007607/0.3897, allocations: 7.398 MB / 0.5843 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005065/0.3948, allocations: 4.339 MB / 0.5886 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006402/0.4012, allocations: 4.967 MB / 0.5934 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006986/0.4082, allocations: 4.768 MB / 0.5981 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4097, allocations: 0.6719 MB / 0.5987 GB, free: 8.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008079/0.4178, allocations: 3.253 MB / 0.6019 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001968/0.4197, allocations: 1.812 MB / 0.6037 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003947/0.4237, allocations: 2.9 MB / 0.6065 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.4403, allocations: 11.63 MB / 0.6179 GB, free: 5.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.4403, allocations: 0 / 0.6179 GB, free: 5.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4403, allocations: 4 kB / 0.6179 GB, free: 5.176 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001452/0.4404, allocations: 0 / 0.6179 GB, free: 5.176 MB / 462.1 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.01684/0.4572, allocations: 7.24 MB / 0.625 GB, free: 13.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4573, allocations: 8.031 kB / 0.625 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00584/0.4631, allocations: 1.245 MB / 0.6262 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/0.471, allocations: 3.317 MB / 0.6294 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007487/0.4717, allocations: 1.003 MB / 0.6304 GB, free: 8.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.4729, allocations: 0.4924 MB / 0.6309 GB, free: 7.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.4887, allocations: 9.47 MB / 0.6401 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.574e-05/0.4888, allocations: 4 kB / 0.6401 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006634/0.4894, allocations: 192 kB / 0.6403 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.061e-05/0.4895, allocations: 116 kB / 0.6404 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.5096, allocations: 12.67 MB / 0.6528 GB, free: 1.016 MB / 494.1 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.05668/0.5663, allocations: 26.72 MB / 0.6789 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05723/0.6235, allocations: 26.13 MB / 0.7044 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008733/0.6322, allocations: 4.72 MB / 0.709 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03953/0.6718, allocations: 16.89 MB / 0.7255 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.6718, allocations: 69.05 kB / 0.7256 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005222/0.677, allocations: 1.254 MB / 0.7268 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.323e-05/0.6771, allocations: 0 / 0.7268 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3054/0.9824, allocations: 24.16 MB / 0.7504 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.9825, allocations: 98.17 kB / 0.7505 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003369/0.9859, allocations: 2.832 MB / 0.7533 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008592/0.9867, allocations: 90.2 kB / 0.7533 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/0.9878, allocations: 2.229 MB / 0.7555 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.9891, allocations: 1.362 MB / 0.7568 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.9905, allocations: 0.9832 MB / 0.7578 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.9906, allocations: 301.1 kB / 0.7581 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/0.9947, allocations: 2.962 MB / 0.761 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.9992, allocations: 4.491 MB / 0.7654 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008656/1.008, allocations: 7.816 MB / 0.773 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.994e-05/1.008, allocations: 13.22 kB / 0.773 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05349/1.061, allocations: 13.81 MB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/1.062, allocations: 27.98 kB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/1.062, allocations: 48 kB / 0.7866 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008308/1.07, allocations: 3.469 MB / 0.79 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/1.075, allocations: 1.266 MB / 0.7912 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02923/1.104, allocations: 17.87 MB / 0.8087 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00473/1.109, allocations: 254.5 kB / 0.8089 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.11, allocations: 279.8 kB / 0.8092 GB, free: 122.2 MB / 0.5606 GB 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.003476/1.114, allocations: 1.454 MB / 0.8106 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.115, allocations: 353.6 kB / 0.8109 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/1.151, allocations: 9.607 MB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/1.151, allocations: 40 kB / 0.8203 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.151, allocations: 4 kB / 0.8203 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/1.151, allocations: 22.22 kB / 0.8204 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04557/1.196, allocations: 14.36 MB / 0.8344 GB, free: 96.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.196, allocations: 7.984 kB / 0.8344 GB, free: 96.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004303/1.201, allocations: 0.845 MB / 0.8352 GB, free: 95.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005845/1.207, allocations: 2.132 MB / 0.8373 GB, free: 93.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008033/1.207, allocations: 143.8 kB / 0.8374 GB, free: 93.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/1.228, allocations: 12.1 MB / 0.8493 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.228, allocations: 7.938 kB / 0.8493 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03862/1.267, allocations: 12.93 MB / 0.8619 GB, free: 68.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.27, allocations: 0.8977 MB / 0.8628 GB, free: 67.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009748/1.271, allocations: 95.97 kB / 0.8629 GB, free: 67.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.273, allocations: 165.3 kB / 0.863 GB, free: 66.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.274, allocations: 474.2 kB / 0.8635 GB, free: 66.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003901/1.275, allocations: 147.9 kB / 0.8636 GB, free: 66.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002075/1.277, allocations: 1.843 MB / 0.8654 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/1.277, allocations: 0 / 0.8654 GB, free: 64.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005792/1.283, allocations: 2.064 MB / 0.8674 GB, free: 62.43 MB / 0.5606 GB 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.002411/1.285, allocations: 1.325 MB / 0.8687 GB, free: 61.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.297, allocations: 7.073 MB / 0.8756 GB, free: 54.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.297, allocations: 0 / 0.8756 GB, free: 54.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006349/1.303, allocations: 3.765 MB / 0.8793 GB, free: 50.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/1.306, allocations: 0.7744 MB / 0.8801 GB, free: 49.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.322, allocations: 10.98 MB / 0.8908 GB, free: 38.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/1.324, allocations: 2.796 MB / 0.8935 GB, free: 35.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00355/1.328, allocations: 1.563 MB / 0.8951 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.329, allocations: 450 kB / 0.8955 GB, free: 34 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/1.329, allocations: 0 / 0.8955 GB, free: 34 MB / 0.5606 GB Notification: Performance of Templates: time 0.31/1.639, allocations: 100.1 MB / 0.9932 GB, free: 181.5 MB / 0.5919 GB " [Timeout remaining time 658] 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=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.92918883501261] Failed to read output from testmodel.py, exit status != 0: 1.6477798349951627 1.656726989 1.21420259 Calling exit ...