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.001573/0.001573, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001524/0.001524, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.785 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.1376/0.1376, allocations: 23.98 MB / 336.4 MB, free: 10.87 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.002393/0.002393, allocations: 71.89 kB / 471.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3774, allocations: 59.89 MB / 0.5188 GB, free: 9.5 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.07749/0.4549, allocations: 29.45 MB / 0.5475 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03523/0.4902, allocations: 23.05 MB / 0.57 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.4928, allocations: 35.69 kB / 0.57 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.4951, allocations: 0.5543 MB / 0.5706 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.5024, allocations: 2.157 MB / 0.5727 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.5138, allocations: 3.578 MB / 0.5762 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009005/0.5228, allocations: 7.394 MB / 0.5834 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005942/0.5288, allocations: 4.319 MB / 0.5876 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/0.5367, allocations: 4.963 MB / 0.5925 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009065/0.5458, allocations: 4.955 MB / 0.5973 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002176/0.5479, allocations: 0.6719 MB / 0.598 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00993/0.5579, allocations: 3.187 MB / 0.6011 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.561, allocations: 1.804 MB / 0.6028 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007755/0.5687, allocations: 2.9 MB / 0.6057 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02059/0.5893, allocations: 11.64 MB / 0.617 GB, free: 4.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.5893, allocations: 8 kB / 0.617 GB, free: 4.824 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5893, allocations: 3.938 kB / 0.617 GB, free: 4.82 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002757/0.5896, allocations: 0 / 0.617 GB, free: 4.82 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.01949/0.6091, allocations: 7.233 MB / 0.6241 GB, free: 13.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.6091, allocations: 8.031 kB / 0.6241 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001419/0.6106, allocations: 0.6579 MB / 0.6248 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005956/0.6165, allocations: 1.241 MB / 0.626 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009334/0.6258, allocations: 3.325 MB / 0.6292 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008798/0.6267, allocations: 1.007 MB / 0.6302 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/0.6286, allocations: 0.4924 MB / 0.6307 GB, free: 6.562 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.6473, allocations: 9.469 MB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/0.6474, allocations: 3.938 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007494/0.6482, allocations: 195.9 kB / 0.6401 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.6483, allocations: 116 kB / 0.6402 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/0.6716, allocations: 12.66 MB / 0.6526 GB, free: 15.99 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.06228/0.7339, allocations: 27.33 MB / 0.6793 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05818/0.7921, allocations: 26.13 MB / 0.7048 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008796/0.8009, allocations: 4.72 MB / 0.7094 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03541/0.8363, allocations: 16.92 MB / 0.7259 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.8363, allocations: 65.11 kB / 0.726 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004886/0.8412, allocations: 1.278 MB / 0.7272 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 9.487e-06/0.8412, allocations: 0 / 0.7272 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3218/1.163, allocations: 24.17 MB / 0.7508 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.163, allocations: 89.7 kB / 0.7509 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/1.167, allocations: 3.057 MB / 0.7539 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.168, allocations: 86.77 kB / 0.754 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/1.17, allocations: 2.227 MB / 0.7562 GB, free: 166 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001501/1.171, allocations: 1.359 MB / 0.7575 GB, free: 165 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/1.172, allocations: 0.9829 MB / 0.7585 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.869e-05/1.172, allocations: 306 kB / 0.7588 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005301/1.178, allocations: 2.961 MB / 0.7616 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/1.182, allocations: 4.487 MB / 0.766 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008815/1.191, allocations: 7.813 MB / 0.7737 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-05/1.191, allocations: 15.47 kB / 0.7737 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05388/1.245, allocations: 13.83 MB / 0.7872 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.245, allocations: 26.66 kB / 0.7872 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.408e-05/1.245, allocations: 48 kB / 0.7872 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008227/1.253, allocations: 3.467 MB / 0.7906 GB, free: 140 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005425/1.259, allocations: 1.27 MB / 0.7919 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02892/1.288, allocations: 17.95 MB / 0.8094 GB, free: 120.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004605/1.292, allocations: 254.8 kB / 0.8096 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009569/1.293, allocations: 279.8 kB / 0.8099 GB, free: 119.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.003088/1.296, allocations: 1.455 MB / 0.8113 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.298, allocations: 364.3 kB / 0.8117 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03421/1.332, allocations: 9.637 MB / 0.8211 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.433e-05/1.332, allocations: 40 kB / 0.8211 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/1.332, allocations: 7.938 kB / 0.8211 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/1.332, allocations: 19.92 kB / 0.8212 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04239/1.374, allocations: 14.91 MB / 0.8357 GB, free: 93.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/1.374, allocations: 4 kB / 0.8357 GB, free: 93.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004357/1.379, allocations: 0.8451 MB / 0.8365 GB, free: 92.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005609/1.384, allocations: 2.131 MB / 0.8386 GB, free: 90.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007983/1.385, allocations: 143 kB / 0.8388 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02048/1.406, allocations: 12.18 MB / 0.8506 GB, free: 78.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.406, allocations: 4 kB / 0.8506 GB, free: 78.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03985/1.445, allocations: 12.95 MB / 0.8633 GB, free: 65.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003848/1.449, allocations: 0.9296 MB / 0.8642 GB, free: 64.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001563/1.451, allocations: 91.98 kB / 0.8643 GB, free: 64.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003239/1.454, allocations: 162.5 kB / 0.8644 GB, free: 63.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001044/1.455, allocations: 474.2 kB / 0.8649 GB, free: 63.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/1.455, allocations: 143.9 kB / 0.865 GB, free: 63.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002247/1.458, allocations: 2 MB / 0.867 GB, free: 61.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.458, allocations: 0 / 0.867 GB, free: 61.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006693/1.464, allocations: 2.069 MB / 0.869 GB, free: 59.32 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.04085/1.505, allocations: 14.74 MB / 0.8834 GB, free: 44.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.519, allocations: 7.075 MB / 0.8903 GB, free: 37.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.519, allocations: 4 kB / 0.8903 GB, free: 37.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007392/1.526, allocations: 3.783 MB / 0.894 GB, free: 33.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/1.53, allocations: 0.7678 MB / 0.8948 GB, free: 33.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1553/1.685, allocations: 54.82 MB / 0.9483 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/1.689, allocations: 2.781 MB / 0.951 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004968/1.694, allocations: 1.58 MB / 0.9526 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003842/1.698, allocations: 2.044 MB / 0.9545 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/1.698, allocations: 0 / 0.9545 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4205/2.119, allocations: 133.9 MB / 1.085 GB, free: 95.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.91/22.03, allocations: 11.38 kB / 1.085 GB, free: 95.81 MB / 0.5919 GB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC_res.csv --start-time 0 --stop-time 15000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 6 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: 24.97034145798534] Failed to read output from testmodel.py, exit status != 0: 22.222975593991578 22.23304725 21.64127763 Calling exit ...