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.001236/0.001236, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001403/0.001403, allocations: 222.2 kB / 22.25 MB, free: 5.105 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.801 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 / 336.4 MB, free: 10.93 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.002047/0.002047, allocations: 67.89 kB / 471.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3093, allocations: 59.87 MB / 0.5186 GB, free: 9.52 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.07216/0.3815, allocations: 29.32 MB / 0.5473 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03221/0.4137, allocations: 23.04 MB / 0.5698 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.4157, allocations: 35.69 kB / 0.5698 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.4175, allocations: 0.5504 MB / 0.5703 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.4244, allocations: 2.157 MB / 0.5725 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.4348, allocations: 3.589 MB / 0.576 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009482/0.4443, allocations: 7.398 MB / 0.5832 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/0.4503, allocations: 4.331 MB / 0.5874 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007476/0.4577, allocations: 4.975 MB / 0.5923 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008763/0.4665, allocations: 4.76 MB / 0.5969 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.4688, allocations: 0.6719 MB / 0.5976 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009947/0.4788, allocations: 3.265 MB / 0.6008 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003389/0.4822, allocations: 1.804 MB / 0.6025 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005915/0.4881, allocations: 2.9 MB / 0.6054 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.509, allocations: 11.63 MB / 0.6167 GB, free: 5.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.5091, allocations: 4 kB / 0.6167 GB, free: 5.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5091, allocations: 0 / 0.6167 GB, free: 5.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002966/0.5093, allocations: 0 / 0.6167 GB, free: 5.102 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.0224/0.5318, allocations: 7.233 MB / 0.6238 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.5318, allocations: 8.031 kB / 0.6238 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/0.5338, allocations: 0.6618 MB / 0.6244 GB, free: 13.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006508/0.5403, allocations: 1.245 MB / 0.6257 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.5505, allocations: 3.317 MB / 0.6289 GB, free: 8.492 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001042/0.5515, allocations: 1.003 MB / 0.6299 GB, free: 7.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/0.5542, allocations: 0.4963 MB / 0.6304 GB, free: 6.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.5775, allocations: 9.47 MB / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.5776, allocations: 0 / 0.6396 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.5789, allocations: 192 kB / 0.6398 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.579, allocations: 120 kB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/0.6042, allocations: 12.66 MB / 0.6523 GB, free: 288 kB / 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.06376/0.668, allocations: 27.33 MB / 0.679 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05632/0.7243, allocations: 26.12 MB / 0.7045 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00827/0.7326, allocations: 4.716 MB / 0.7091 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03774/0.7703, allocations: 16.91 MB / 0.7256 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.7704, allocations: 65.11 kB / 0.7256 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004903/0.7753, allocations: 1.281 MB / 0.7269 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 8.776e-06/0.7753, allocations: 0 / 0.7269 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3057/1.081, allocations: 24.16 MB / 0.7505 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/1.081, allocations: 94.7 kB / 0.7506 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004068/1.085, allocations: 3.054 MB / 0.7536 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.086, allocations: 90.61 kB / 0.7537 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/1.088, allocations: 2.227 MB / 0.7558 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/1.089, allocations: 1.364 MB / 0.7572 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/1.091, allocations: 0.9789 MB / 0.7581 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/1.091, allocations: 306.5 kB / 0.7584 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004457/1.096, allocations: 2.964 MB / 0.7613 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.1, allocations: 4.481 MB / 0.7657 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009713/1.11, allocations: 7.818 MB / 0.7733 GB, free: 154 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.571e-05/1.11, allocations: 20.33 kB / 0.7733 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05643/1.167, allocations: 13.83 MB / 0.7868 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/1.167, allocations: 24 kB / 0.7869 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.941e-05/1.167, allocations: 48 kB / 0.7869 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008066/1.175, allocations: 3.466 MB / 0.7903 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/1.18, allocations: 1.274 MB / 0.7915 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02832/1.209, allocations: 17.94 MB / 0.8091 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.213, allocations: 251.8 kB / 0.8093 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008322/1.214, allocations: 279.8 kB / 0.8096 GB, free: 120.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.002296/1.216, allocations: 1.454 MB / 0.811 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008148/1.217, allocations: 368.5 kB / 0.8113 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03379/1.251, allocations: 9.64 MB / 0.8208 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.792e-05/1.251, allocations: 43.98 kB / 0.8208 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/1.251, allocations: 7.938 kB / 0.8208 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001343/1.251, allocations: 15.94 kB / 0.8208 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/1.294, allocations: 14.91 MB / 0.8354 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.714e-05/1.294, allocations: 6.688 kB / 0.8354 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004317/1.299, allocations: 0.8451 MB / 0.8362 GB, free: 93.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005866/1.304, allocations: 2.132 MB / 0.8383 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008515/1.305, allocations: 135.9 kB / 0.8384 GB, free: 90.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/1.326, allocations: 12.18 MB / 0.8503 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.326, allocations: 4 kB / 0.8503 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03807/1.364, allocations: 12.95 MB / 0.863 GB, free: 65.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/1.367, allocations: 0.9271 MB / 0.8639 GB, free: 64.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.368, allocations: 98.62 kB / 0.864 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.371, allocations: 159.8 kB / 0.8641 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/1.372, allocations: 466.3 kB / 0.8646 GB, free: 63.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/1.372, allocations: 151.8 kB / 0.8647 GB, free: 63.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00211/1.374, allocations: 2 MB / 0.8667 GB, free: 61.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/1.374, allocations: 0 / 0.8667 GB, free: 61.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006637/1.381, allocations: 2.063 MB / 0.8687 GB, free: 59.68 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.03994/1.421, allocations: 14.74 MB / 0.8831 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.433, allocations: 7.074 MB / 0.89 GB, free: 37.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.433, allocations: 0 / 0.89 GB, free: 37.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007108/1.441, allocations: 3.776 MB / 0.8937 GB, free: 34.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/1.444, allocations: 0.773 MB / 0.8944 GB, free: 33.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1538/1.598, allocations: 54.82 MB / 0.948 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003187/1.601, allocations: 2.785 MB / 0.9507 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004331/1.606, allocations: 1.583 MB / 0.9522 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/1.609, allocations: 2.044 MB / 0.9542 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of SimCode: time 9.92e-07/1.609, allocations: 0 / 0.9542 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/2, allocations: 135.7 MB / 1.087 GB, free: 94.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.37/20.36, allocations: 12 kB / 1.087 GB, free: 94.41 MB / 0.5919 GB " [Timeout remaining time 639] (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 os._exit(0), Time elapsed: 23.02869501398527] Failed to read output from testmodel.py, exit status != 0: 20.55328166898107 20.57255489 20.059328898 Calling exit ...