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.001376/0.001376, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001597/0.001597, allocations: 213.8 kB / 22.99 MB, free: 4.941 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 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.14/0.14, allocations: 23.89 MB / 337.1 MB, free: 10.97 MB / 270.1 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: 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.002513/0.002513, allocations: 75.89 kB / 472.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3226, allocations: 59.85 MB / 0.5198 GB, free: 9.812 MB / 382.1 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.0762/0.3988, allocations: 29.45 MB / 0.5485 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03338/0.4322, allocations: 23.05 MB / 0.571 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.4345, allocations: 35.69 kB / 0.5711 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.4369, allocations: 0.5426 MB / 0.5716 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.4449, allocations: 2.161 MB / 0.5737 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.4556, allocations: 3.577 MB / 0.5772 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009166/0.4648, allocations: 7.406 MB / 0.5844 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006158/0.4709, allocations: 4.315 MB / 0.5887 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00774/0.4787, allocations: 4.967 MB / 0.5935 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009424/0.4881, allocations: 4.947 MB / 0.5983 GB, free: 9.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00289/0.491, allocations: 0.6758 MB / 0.599 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.5017, allocations: 3.183 MB / 0.6021 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003452/0.5051, allocations: 1.808 MB / 0.6039 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006129/0.5113, allocations: 2.903 MB / 0.6067 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02084/0.5321, allocations: 11.63 MB / 0.6181 GB, free: 4.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.5321, allocations: 4 kB / 0.6181 GB, free: 4.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5321, allocations: 0 / 0.6181 GB, free: 4.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.5324, allocations: 0 / 0.6181 GB, free: 4.938 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.02048/0.5529, allocations: 7.241 MB / 0.6251 GB, free: 13.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.5529, allocations: 8.031 kB / 0.6252 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/0.5599, allocations: 1.238 MB / 0.6264 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009467/0.5693, allocations: 3.325 MB / 0.6296 GB, free: 8.992 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/0.5704, allocations: 1.003 MB / 0.6306 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003692/0.5741, allocations: 0.5002 MB / 0.6311 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0235/0.5976, allocations: 9.458 MB / 0.6403 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.5977, allocations: 3.938 kB / 0.6403 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/0.5993, allocations: 200 kB / 0.6405 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.5994, allocations: 120 kB / 0.6406 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02565/0.6251, allocations: 12.66 MB / 0.653 GB, free: 0.7734 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.065/0.6901, allocations: 26.73 MB / 0.6791 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05858/0.7487, allocations: 26.12 MB / 0.7046 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008902/0.7576, allocations: 4.716 MB / 0.7092 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03725/0.7948, allocations: 16.9 MB / 0.7257 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/0.7949, allocations: 69.09 kB / 0.7258 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004806/0.7997, allocations: 1.258 MB / 0.727 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.434e-05/0.7997, allocations: 0 / 0.727 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3234/1.123, allocations: 24.15 MB / 0.7506 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.123, allocations: 90.08 kB / 0.7507 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/1.127, allocations: 2.839 MB / 0.7534 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.128, allocations: 88.84 kB / 0.7535 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/1.129, allocations: 2.222 MB / 0.7557 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.131, allocations: 1.363 MB / 0.757 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/1.132, allocations: 0.9826 MB / 0.758 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/1.133, allocations: 302.3 kB / 0.7583 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005424/1.138, allocations: 2.958 MB / 0.7612 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00613/1.144, allocations: 4.493 MB / 0.7656 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.154, allocations: 7.812 MB / 0.7732 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.982e-05/1.154, allocations: 14.56 kB / 0.7732 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05522/1.209, allocations: 13.81 MB / 0.7867 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/1.209, allocations: 30.97 kB / 0.7867 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-05/1.21, allocations: 48 kB / 0.7868 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008109/1.218, allocations: 3.461 MB / 0.7901 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005253/1.223, allocations: 1.276 MB / 0.7914 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02827/1.251, allocations: 17.88 MB / 0.8089 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.256, allocations: 247.8 kB / 0.8091 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/1.256, allocations: 283.8 kB / 0.8094 GB, free: 121.9 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.002538/1.259, allocations: 1.448 MB / 0.8108 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/1.26, allocations: 353.7 kB / 0.8111 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03459/1.294, allocations: 9.617 MB / 0.8205 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/1.294, allocations: 40 kB / 0.8205 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/1.294, allocations: 4 kB / 0.8205 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.294, allocations: 22.92 kB / 0.8206 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04302/1.337, allocations: 14.35 MB / 0.8346 GB, free: 96.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/1.338, allocations: 4 kB / 0.8346 GB, free: 96.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00446/1.342, allocations: 0.8528 MB / 0.8354 GB, free: 95.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005631/1.348, allocations: 2.123 MB / 0.8375 GB, free: 93.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008531/1.348, allocations: 139.9 kB / 0.8376 GB, free: 93.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/1.369, allocations: 12.11 MB / 0.8495 GB, free: 80.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.369, allocations: 10.62 kB / 0.8495 GB, free: 80.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03857/1.408, allocations: 12.93 MB / 0.8621 GB, free: 67.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002975/1.411, allocations: 0.9056 MB / 0.863 GB, free: 66.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009475/1.411, allocations: 91.97 kB / 0.8631 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.414, allocations: 162.5 kB / 0.8632 GB, free: 66.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009594/1.415, allocations: 478.2 kB / 0.8637 GB, free: 66.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003196/1.415, allocations: 143.9 kB / 0.8638 GB, free: 66.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00216/1.418, allocations: 1.847 MB / 0.8656 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.418, allocations: 0 / 0.8656 GB, free: 64.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006498/1.424, allocations: 2.065 MB / 0.8676 GB, free: 62.18 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.002712/1.427, allocations: 1.321 MB / 0.8689 GB, free: 61.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.44, allocations: 7.072 MB / 0.8758 GB, free: 53.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.44, allocations: 4 kB / 0.8758 GB, free: 53.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007423/1.447, allocations: 3.762 MB / 0.8795 GB, free: 50.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.451, allocations: 0.7637 MB / 0.8803 GB, free: 49.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1.469, allocations: 10.94 MB / 0.8909 GB, free: 38.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/1.471, allocations: 2.699 MB / 0.8936 GB, free: 35.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/1.473, allocations: 486.4 kB / 0.894 GB, free: 35.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.473, allocations: 0 / 0.894 GB, free: 35.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.3863/1.859, allocations: 148.8 MB / 1.039 GB, free: 142.7 MB / 0.5919 GB " [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 sys.exit(0), Time elapsed: 14.783668286167085] Failed to read output from testmodel.py, exit status != 0: 1.8706078380346298 1.879225788 1.344418807 Calling exit ...