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.001637/0.001637, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001608/0.001608, allocations: 212.6 kB / 22.99 MB, free: 4.98 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1437/0.1437, allocations: 23.88 MB / 337.1 MB, free: 11 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.002047/0.002047, allocations: 71.83 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, 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.0758/0.4123, allocations: 29.38 MB / 0.5485 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.446, allocations: 23.05 MB / 0.571 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.4482, allocations: 35.69 kB / 0.571 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4504, allocations: 0.5465 MB / 0.5715 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009355/0.4598, allocations: 2.165 MB / 0.5736 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.4711, allocations: 3.577 MB / 0.5771 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.4812, allocations: 7.398 MB / 0.5844 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007001/0.4882, allocations: 4.331 MB / 0.5886 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008495/0.4967, allocations: 4.967 MB / 0.5934 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008937/0.5057, allocations: 4.764 MB / 0.5981 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002984/0.5087, allocations: 0.6758 MB / 0.5988 GB, free: 8.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/0.5196, allocations: 3.253 MB / 0.6019 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.5233, allocations: 1.812 MB / 0.6037 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006537/0.5298, allocations: 2.896 MB / 0.6065 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02166/0.5515, allocations: 11.64 MB / 0.6179 GB, free: 5.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.5515, allocations: 4 kB / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5515, allocations: 0 / 0.6179 GB, free: 5.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003186/0.5518, allocations: 3.938 kB / 0.6179 GB, free: 5.125 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.02259/0.5744, allocations: 7.229 MB / 0.625 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5744, allocations: 15.97 kB / 0.625 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007463/0.5819, allocations: 1.245 MB / 0.6262 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.592, allocations: 3.321 MB / 0.6294 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/0.593, allocations: 0.9951 MB / 0.6304 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/0.5958, allocations: 0.5002 MB / 0.6309 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.6199, allocations: 9.47 MB / 0.6401 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.6201, allocations: 3.938 kB / 0.6402 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/0.622, allocations: 196 kB / 0.6403 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.6221, allocations: 116 kB / 0.6404 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/0.6483, allocations: 12.66 MB / 0.6528 GB, free: 0.9648 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.06891/0.7172, allocations: 26.72 MB / 0.6789 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05933/0.7766, allocations: 26.13 MB / 0.7044 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00952/0.7861, allocations: 4.724 MB / 0.709 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04347/0.8296, allocations: 16.89 MB / 0.7255 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.8296, allocations: 61.11 kB / 0.7256 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005126/0.8348, allocations: 1.258 MB / 0.7268 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.683e-05/0.8348, allocations: 0 / 0.7268 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3268/1.162, allocations: 24.16 MB / 0.7504 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.162, allocations: 90.11 kB / 0.7505 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/1.165, allocations: 2.84 MB / 0.7533 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.166, allocations: 87.17 kB / 0.7534 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.168, allocations: 2.222 MB / 0.7555 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00177/1.169, allocations: 1.359 MB / 0.7569 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/1.171, allocations: 0.9799 MB / 0.7578 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/1.171, allocations: 306.6 kB / 0.7581 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/1.176, allocations: 2.962 MB / 0.761 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/1.181, allocations: 4.496 MB / 0.7654 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.191, allocations: 7.809 MB / 0.773 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-05/1.191, allocations: 16.59 kB / 0.773 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05251/1.244, allocations: 13.82 MB / 0.7865 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/1.244, allocations: 30.97 kB / 0.7866 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.648e-05/1.244, allocations: 47.36 kB / 0.7866 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008037/1.252, allocations: 3.464 MB / 0.79 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/1.258, allocations: 1.266 MB / 0.7912 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02803/1.286, allocations: 17.88 MB / 0.8087 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004524/1.29, allocations: 251.8 kB / 0.8089 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.291, allocations: 275.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.00294/1.294, allocations: 1.454 MB / 0.8106 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009922/1.295, allocations: 345.7 kB / 0.8109 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03206/1.327, allocations: 9.62 MB / 0.8203 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.226e-05/1.327, allocations: 40 kB / 0.8204 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.327, allocations: 7.938 kB / 0.8204 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/1.327, allocations: 26.58 kB / 0.8204 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0421/1.369, allocations: 14.35 MB / 0.8344 GB, free: 96.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.154e-05/1.369, allocations: 4 kB / 0.8344 GB, free: 96.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004477/1.374, allocations: 0.8567 MB / 0.8353 GB, free: 95.65 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/1.379, allocations: 2.121 MB / 0.8373 GB, free: 93.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008955/1.38, allocations: 138.5 kB / 0.8375 GB, free: 93.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.4, allocations: 12.1 MB / 0.8493 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.4, allocations: 7.938 kB / 0.8493 GB, free: 81.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03804/1.438, allocations: 12.94 MB / 0.8619 GB, free: 68.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003744/1.442, allocations: 0.9097 MB / 0.8628 GB, free: 67.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.443, allocations: 87.98 kB / 0.8629 GB, free: 67.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/1.446, allocations: 163.8 kB / 0.863 GB, free: 66.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000975/1.447, allocations: 470.2 kB / 0.8635 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/1.447, allocations: 150.6 kB / 0.8636 GB, free: 66.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002111/1.449, allocations: 1.847 MB / 0.8654 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.449, allocations: 2.625 kB / 0.8654 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007143/1.456, allocations: 2.064 MB / 0.8675 GB, free: 62.41 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.002653/1.459, allocations: 1.314 MB / 0.8687 GB, free: 61.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.472, allocations: 7.08 MB / 0.8757 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.472, allocations: 0 / 0.8757 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00754/1.48, allocations: 3.767 MB / 0.8793 GB, free: 50.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/1.484, allocations: 0.7657 MB / 0.8801 GB, free: 49.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.503, allocations: 10.94 MB / 0.8908 GB, free: 38.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/1.505, allocations: 2.696 MB / 0.8934 GB, free: 36.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/1.507, allocations: 491.2 kB / 0.8939 GB, free: 35.56 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.507, allocations: 0 / 0.8939 GB, free: 35.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.4334/1.941, allocations: 148.8 MB / 1.039 GB, free: 142.9 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: 15.195208750024904] Failed to read output from testmodel.py, exit status != 0: 1.9517435689922422 1.959973288 1.405886934 Calling exit ...