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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001437/0.001437, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.372/1.372, allocations: 230.6 MB / 256 MB, free: 8.023 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.1365/0.1365, allocations: 23.9 MB / 336.3 MB, free: 11.17 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) [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.001938/0.001938, allocations: 67.91 kB / 471.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 59.87 MB / 0.5187 GB, free: 9.582 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.03965/0.3438, allocations: 30.48 MB / 0.5485 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03407/0.3779, allocations: 26.3 MB / 0.5741 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002003/0.3799, allocations: 35.69 kB / 0.5742 GB, free: 1.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.3815, allocations: 0.6009 MB / 0.5748 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.388, allocations: 2.176 MB / 0.5769 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009836/0.3979, allocations: 3.57 MB / 0.5804 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009202/0.4071, allocations: 7.409 MB / 0.5876 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005862/0.4129, allocations: 4.339 MB / 0.5918 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007802/0.4207, allocations: 4.963 MB / 0.5967 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0094/0.4301, allocations: 4.764 MB / 0.6013 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002105/0.4322, allocations: 0.6758 MB / 0.602 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.4438, allocations: 3.363 MB / 0.6053 GB, free: 1.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003492/0.4473, allocations: 1.816 MB / 0.6071 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007189/0.4544, allocations: 3.35 MB / 0.6103 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02206/0.4765, allocations: 11.62 MB / 0.6217 GB, free: 380 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4765, allocations: 0 / 0.6217 GB, free: 380 kB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.4765, allocations: 0 / 0.6217 GB, free: 380 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003132/0.4768, allocations: 3.938 kB / 0.6217 GB, free: 376 kB / 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.02212/0.4989, allocations: 7.245 MB / 0.6287 GB, free: 9.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.499, allocations: 8.031 kB / 0.6288 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002483/0.5015, allocations: 0.6539 MB / 0.6294 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007113/0.5086, allocations: 1.245 MB / 0.6306 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009342/0.5179, allocations: 3.313 MB / 0.6338 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/0.5189, allocations: 1.007 MB / 0.6348 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.5213, allocations: 0.4885 MB / 0.6353 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.5445, allocations: 9.466 MB / 0.6445 GB, free: 8.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/0.5447, allocations: 3.938 kB / 0.6446 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/0.5467, allocations: 192 kB / 0.6447 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.5468, allocations: 116 kB / 0.6448 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02649/0.5733, allocations: 12.76 MB / 0.6573 GB, free: 11.46 MB / 0.4981 GB 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.07179/0.6451, allocations: 30.78 MB / 0.6874 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05946/0.7046, allocations: 26.87 MB / 0.7136 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00973/0.7143, allocations: 4.717 MB / 0.7182 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2611/0.9753, allocations: 17.74 MB / 0.7355 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.9754, allocations: 61.73 kB / 0.7356 GB, free: 169 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004636/0.98, allocations: 1.281 MB / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.282e-05/0.98, allocations: 0 / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.0901/1.07, allocations: 24.18 MB / 0.7605 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/1.07, allocations: 97.89 kB / 0.7605 GB, free: 162 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/1.074, allocations: 2.974 MB / 0.7635 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009578/1.075, allocations: 89.58 kB / 0.7635 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001027/1.076, allocations: 2.225 MB / 0.7657 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.077, allocations: 1.361 MB / 0.767 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/1.078, allocations: 0.9867 MB / 0.768 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/1.078, allocations: 301.1 kB / 0.7683 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/1.082, allocations: 2.959 MB / 0.7712 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/1.086, allocations: 4.495 MB / 0.7756 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008477/1.095, allocations: 7.807 MB / 0.7832 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.665e-05/1.095, allocations: 13.66 kB / 0.7832 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05209/1.147, allocations: 13.83 MB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/1.147, allocations: 31.94 kB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.256e-05/1.147, allocations: 48 kB / 0.7968 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007842/1.155, allocations: 3.467 MB / 0.8002 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005178/1.16, allocations: 1.269 MB / 0.8014 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.028/1.188, allocations: 18.15 MB / 0.8191 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.193, allocations: 247.8 kB / 0.8194 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008546/1.194, allocations: 279.8 kB / 0.8196 GB, free: 110.3 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.002673/1.196, allocations: 1.45 MB / 0.8211 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009709/1.197, allocations: 365.6 kB / 0.8214 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03356/1.231, allocations: 9.632 MB / 0.8308 GB, free: 98.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/1.231, allocations: 36 kB / 0.8308 GB, free: 98.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/1.231, allocations: 8 kB / 0.8309 GB, free: 98.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001144/1.231, allocations: 23.86 kB / 0.8309 GB, free: 98.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04168/1.273, allocations: 15.5 MB / 0.846 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/1.273, allocations: 0 / 0.846 GB, free: 83.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004287/1.277, allocations: 0.8555 MB / 0.8468 GB, free: 82.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005478/1.282, allocations: 2.119 MB / 0.8489 GB, free: 80.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008376/1.283, allocations: 139.9 kB / 0.8491 GB, free: 80.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.303, allocations: 12.32 MB / 0.8611 GB, free: 67.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.303, allocations: 11.88 kB / 0.8611 GB, free: 67.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03776/1.341, allocations: 12.96 MB / 0.8738 GB, free: 54.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003083/1.344, allocations: 0.9254 MB / 0.8747 GB, free: 53.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007882/1.345, allocations: 102.5 kB / 0.8748 GB, free: 53.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/1.347, allocations: 159.8 kB / 0.8749 GB, free: 53.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009067/1.348, allocations: 474 kB / 0.8754 GB, free: 53.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/1.348, allocations: 147.9 kB / 0.8755 GB, free: 52.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002171/1.351, allocations: 1.996 MB / 0.8774 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.351, allocations: 0 / 0.8774 GB, free: 50.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00609/1.357, allocations: 2.064 MB / 0.8795 GB, free: 48.88 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.03856/1.395, allocations: 14.75 MB / 0.8939 GB, free: 34.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01252/1.408, allocations: 7.079 MB / 0.9008 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.408, allocations: 4.125 kB / 0.9008 GB, free: 27.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00657/1.414, allocations: 3.766 MB / 0.9045 GB, free: 23.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/1.418, allocations: 0.7776 MB / 0.9052 GB, free: 22.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3767/1.794, allocations: 54.82 MB / 0.9588 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00315/1.798, allocations: 3.302 MB / 0.962 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004171/1.802, allocations: 1.587 MB / 0.9635 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.804, allocations: 2.048 MB / 0.9655 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.81e-07/1.804, allocations: 0 / 0.9655 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/1.997, allocations: 133.2 MB / 1.096 GB, free: 85.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.32/36.32, allocations: 10.81 kB / 1.096 GB, free: 85.8 MB / 0.5919 GB " [Timeout remaining time 623] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC_fmu --startTime=0 --stopTime=15000 --stepSize=6 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC.fmu > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 39.49004324595444] Failed to read output from testmodel.py, exit status != 0: 36.50599142583087 36.523767817 36.043595474 Calling exit ...