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.0007148/0.0007148, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007659/0.0007659, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8289/0.8289, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.07929/0.07929, allocations: 17.45 MB / 276.6 MB, free: 11.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.959e-05, allocations: 3.125 kB / 411.6 MB, free: 12.44 MB / 330.7 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.02155/0.02157, allocations: 29.69 MB / 441.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.03953, allocations: 23.02 MB / 464.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.04061, allocations: 35.69 kB / 464.4 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.04166, allocations: 0.558 MB / 464.9 MB, free: 4.535 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.04562, allocations: 2.237 MB / 467.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.05174, allocations: 3.696 MB / 470.9 MB, free: 14.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004315/0.05605, allocations: 7.636 MB / 478.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.0597, allocations: 4.334 MB / 482.8 MB, free: 2.492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/0.06496, allocations: 6.331 MB / 489.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.06873, allocations: 4.609 MB / 493.8 MB, free: 7.531 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.06944, allocations: 0.6719 MB / 494.4 MB, free: 6.859 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00477/0.07421, allocations: 3.225 MB / 497.7 MB, free: 3.629 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000947/0.07516, allocations: 1.827 MB / 499.5 MB, free: 1.797 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.07702, allocations: 2.55 MB / 0.4903 GB, free: 15.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00916/0.08618, allocations: 12.3 MB / 0.5023 GB, free: 2.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08618, allocations: 0 / 0.5023 GB, free: 2.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08618, allocations: 0 / 0.5023 GB, free: 2.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.708e-05/0.08624, allocations: 0 / 0.5023 GB, free: 2.906 MB / 410.7 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.008236/0.09448, allocations: 7.194 MB / 0.5093 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.09452, allocations: 12.03 kB / 0.5093 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006031/0.09512, allocations: 0.6579 MB / 0.51 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/0.09793, allocations: 1.237 MB / 0.5112 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.1014, allocations: 3.32 MB / 0.5144 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/0.1021, allocations: 1.007 MB / 0.5154 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006244/0.1027, allocations: 0.4924 MB / 0.5159 GB, free: 4.684 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/0.1115, allocations: 9.462 MB / 0.5251 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.352e-05/0.1115, allocations: 192 / 0.5251 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.112, allocations: 195.9 kB / 0.5253 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.112, allocations: 116 kB / 0.5254 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.124, allocations: 12.66 MB / 0.5378 GB, free: 14.12 MB / 458.7 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.02877/0.1528, allocations: 27.35 MB / 0.5645 GB, free: 2.523 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1761/0.3289, allocations: 26.13 MB / 0.59 GB, free: 142.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/0.3351, allocations: 4.717 MB / 0.5946 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01831/0.3534, allocations: 16.9 MB / 0.6111 GB, free: 135.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3535, allocations: 68.61 kB / 0.6112 GB, free: 135.2 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002182/0.3556, allocations: 1.287 MB / 0.6124 GB, free: 135 MB / 490.7 MB Notification: Performance of pre-optimization done (n=324): time 1.275e-05/0.3557, allocations: 0 / 0.6124 GB, free: 135 MB / 490.7 MB Notification: Performance of matching and sorting (n=376): time 0.04408/0.3997, allocations: 24.19 MB / 0.6361 GB, free: 116.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3998, allocations: 90.36 kB / 0.6361 GB, free: 116.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/0.402, allocations: 3.057 MB / 0.6391 GB, free: 113.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004473/0.4024, allocations: 85.7 kB / 0.6392 GB, free: 113 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.403, allocations: 2.214 MB / 0.6414 GB, free: 111.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006313/0.4036, allocations: 1.347 MB / 0.6427 GB, free: 109.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008459/0.4045, allocations: 0.9768 MB / 0.6436 GB, free: 108.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.154e-05/0.4045, allocations: 301.1 kB / 0.6439 GB, free: 108.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.4069, allocations: 2.96 MB / 0.6468 GB, free: 105.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002714/0.4097, allocations: 4.493 MB / 0.6512 GB, free: 100.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.4152, allocations: 7.805 MB / 0.6588 GB, free: 91.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/0.4153, allocations: 14.69 kB / 0.6589 GB, free: 91.94 MB / 490.7 MB Notification: Performance of matching and sorting (n=617) (initialization): time 0.02702/0.4423, allocations: 13.83 MB / 0.6724 GB, free: 78.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4423, allocations: 28 kB / 0.6724 GB, free: 78.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/0.4424, allocations: 48 kB / 0.6724 GB, free: 78.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/0.4465, allocations: 3.471 MB / 0.6758 GB, free: 74.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.449, allocations: 1.266 MB / 0.6771 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/0.4656, allocations: 17.94 MB / 0.6946 GB, free: 55.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4679, allocations: 247.7 kB / 0.6948 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/0.4683, allocations: 286.4 kB / 0.6951 GB, free: 54.81 MB / 490.7 MB 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.001774/0.4701, allocations: 1.444 MB / 0.6965 GB, free: 53.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/0.4706, allocations: 369.4 kB / 0.6969 GB, free: 52.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/0.4876, allocations: 9.632 MB / 0.7063 GB, free: 43.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.4877, allocations: 40 kB / 0.7063 GB, free: 43.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4877, allocations: 10.66 kB / 0.7063 GB, free: 43.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.4877, allocations: 19.92 kB / 0.7063 GB, free: 43.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/0.5091, allocations: 14.92 MB / 0.7209 GB, free: 28.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5091, allocations: 7.984 kB / 0.7209 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/0.511, allocations: 0.8412 MB / 0.7217 GB, free: 27.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/0.5138, allocations: 2.128 MB / 0.7238 GB, free: 25.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.514, allocations: 142.9 kB / 0.7239 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.5254, allocations: 12.17 MB / 0.7358 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5254, allocations: 7.938 kB / 0.7358 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/0.5444, allocations: 12.95 MB / 0.7485 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.5457, allocations: 0.9191 MB / 0.7494 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/0.546, allocations: 103.8 kB / 0.7495 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5471, allocations: 155.8 kB / 0.7496 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/0.5478, allocations: 472.9 kB / 0.7501 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/0.548, allocations: 147.9 kB / 0.7502 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001786/0.5498, allocations: 1.996 MB / 0.7522 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.5498, allocations: 0 / 0.7522 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004064/0.5539, allocations: 2.071 MB / 0.7542 GB, free: 10.06 MB / 0.4948 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.02388/0.5777, allocations: 14.79 MB / 0.7686 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008741/0.5865, allocations: 7.071 MB / 0.7755 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5865, allocations: 0 / 0.7755 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004468/0.5909, allocations: 3.769 MB / 0.7792 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1305/0.7214, allocations: 0.77 MB / 0.78 GB, free: 170.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08691/0.8083, allocations: 54.73 MB / 0.8334 GB, free: 141.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.8099, allocations: 2.795 MB / 0.8361 GB, free: 139 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002578/0.8125, allocations: 1.581 MB / 0.8377 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.814, allocations: 2.048 MB / 0.8397 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/0.814, allocations: 6.625 kB / 0.8397 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/1.048, allocations: 133.9 MB / 0.9704 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.9, allocations: 4.969 kB / 0.9704 GB, free: 150.1 MB / 0.5105 GB " [Timeout remaining time 648] (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: 13.798042547889054] Failed to read output from testmodel.py, exit status != 0: 12.164659556001425 12.050580612 11.962780209 Calling exit ...