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.001272/0.001272, 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.00144/0.00144, allocations: 215.2 kB / 22.25 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 8.043 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.1476/0.1476, allocations: 23.89 MB / 336.3 MB, free: 11.2 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.001958/0.001958, allocations: 71.91 kB / 471.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 59.87 MB / 0.5187 GB, free: 9.617 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.03923/0.3342, allocations: 30.5 MB / 0.5485 GB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03429/0.3685, allocations: 26.29 MB / 0.5741 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.3706, allocations: 31.75 kB / 0.5742 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.3722, allocations: 0.6009 MB / 0.5747 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.3788, allocations: 2.176 MB / 0.5769 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009221/0.388, allocations: 3.573 MB / 0.5804 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008171/0.3962, allocations: 7.417 MB / 0.5876 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005268/0.4014, allocations: 4.327 MB / 0.5918 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006712/0.4082, allocations: 4.959 MB / 0.5967 GB, free: 10.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007795/0.4159, allocations: 4.768 MB / 0.6013 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002071/0.418, allocations: 0.6719 MB / 0.602 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01059/0.4286, allocations: 3.37 MB / 0.6053 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003657/0.4323, allocations: 1.804 MB / 0.607 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006314/0.4386, allocations: 3.354 MB / 0.6103 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01825/0.4568, allocations: 11.62 MB / 0.6217 GB, free: 392 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4568, allocations: 4 kB / 0.6217 GB, free: 388 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4568, allocations: 0 / 0.6217 GB, free: 388 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002074/0.457, allocations: 0 / 0.6217 GB, free: 388 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.01944/0.4765, allocations: 7.245 MB / 0.6287 GB, free: 9.059 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4765, allocations: 8.031 kB / 0.6287 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/0.4783, allocations: 0.6618 MB / 0.6294 GB, free: 8.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/0.4846, allocations: 1.241 MB / 0.6306 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/0.4925, allocations: 3.329 MB / 0.6339 GB, free: 3.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000821/0.4934, allocations: 0.9951 MB / 0.6348 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.4953, allocations: 0.4963 MB / 0.6353 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.5126, allocations: 9.466 MB / 0.6446 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.5127, allocations: 0 / 0.6446 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006558/0.5134, allocations: 192 kB / 0.6447 GB, free: 8.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.703e-05/0.5134, allocations: 116 kB / 0.6448 GB, free: 8.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.5366, allocations: 12.75 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.06037/0.5969, allocations: 30.78 MB / 0.6874 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05521/0.6521, allocations: 26.87 MB / 0.7136 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009217/0.6614, allocations: 4.725 MB / 0.7182 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2504/0.9117, allocations: 17.73 MB / 0.7355 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.9118, allocations: 66.39 kB / 0.7356 GB, free: 169 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00482/0.9166, allocations: 1.277 MB / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 2.016e-05/0.9166, allocations: 0 / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.09091/1.008, allocations: 24.18 MB / 0.7605 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/1.008, allocations: 97.64 kB / 0.7605 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/1.011, allocations: 2.976 MB / 0.7635 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00115/1.012, allocations: 85.58 kB / 0.7635 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001264/1.013, allocations: 2.23 MB / 0.7657 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.015, allocations: 1.361 MB / 0.767 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/1.017, allocations: 0.9805 MB / 0.768 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/1.017, allocations: 303.8 kB / 0.7683 GB, free: 157 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.02, allocations: 2.964 MB / 0.7712 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/1.025, allocations: 4.484 MB / 0.7756 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008143/1.033, allocations: 7.813 MB / 0.7832 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/1.033, allocations: 14.5 kB / 0.7832 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05083/1.084, allocations: 13.83 MB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/1.084, allocations: 27.94 kB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.084, allocations: 54.64 kB / 0.7968 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007959/1.092, allocations: 3.469 MB / 0.8002 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005001/1.097, allocations: 1.27 MB / 0.8014 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02802/1.125, allocations: 18.14 MB / 0.8191 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/1.13, allocations: 256.4 kB / 0.8194 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004946/1.13, 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.002288/1.132, allocations: 1.459 MB / 0.8211 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007225/1.133, allocations: 361.6 kB / 0.8214 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/1.164, allocations: 9.63 MB / 0.8308 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/1.165, allocations: 40 kB / 0.8309 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.165, allocations: 6.656 kB / 0.8309 GB, free: 98.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/1.165, allocations: 23.86 kB / 0.8309 GB, free: 98.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03896/1.204, allocations: 15.5 MB / 0.846 GB, free: 83.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/1.204, allocations: 4 kB / 0.846 GB, free: 83.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/1.208, allocations: 0.845 MB / 0.8468 GB, free: 82.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005524/1.213, allocations: 2.119 MB / 0.8489 GB, free: 80.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/1.214, allocations: 146.6 kB / 0.8491 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.233, allocations: 12.31 MB / 0.8611 GB, free: 67.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.233, allocations: 7.969 kB / 0.8611 GB, free: 67.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03622/1.27, allocations: 12.97 MB / 0.8738 GB, free: 54.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002945/1.273, allocations: 0.9245 MB / 0.8747 GB, free: 53.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007639/1.273, allocations: 95.91 kB / 0.8747 GB, free: 53.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.276, allocations: 163.8 kB / 0.8749 GB, free: 53.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009185/1.277, allocations: 469.6 kB / 0.8754 GB, free: 53.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/1.277, allocations: 151.8 kB / 0.8755 GB, free: 52.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002203/1.279, allocations: 1.996 MB / 0.8774 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.279, allocations: 0 / 0.8774 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007795/1.287, allocations: 2.065 MB / 0.8795 GB, free: 48.9 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.03819/1.325, allocations: 14.74 MB / 0.8939 GB, free: 34.29 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01206/1.337, allocations: 7.082 MB / 0.9008 GB, free: 27.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.337, allocations: 0 / 0.9008 GB, free: 27.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006642/1.344, allocations: 3.775 MB / 0.9045 GB, free: 23.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.347, allocations: 0.7696 MB / 0.9052 GB, free: 22.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3587/1.706, allocations: 54.82 MB / 0.9588 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.709, allocations: 3.309 MB / 0.962 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004287/1.714, allocations: 1.579 MB / 0.9635 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00295/1.717, allocations: 2.049 MB / 0.9655 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.803e-06/1.717, allocations: 0 / 0.9655 GB, free: 191.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.171/1.887, allocations: 133.2 MB / 1.096 GB, free: 85.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.97/35.86, allocations: 0 / 1.096 GB, free: 85.6 MB / 0.5919 GB " [Timeout remaining time 624] (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 sys.exit(0), Time elapsed: 40.72467685499578] Failed to read output from testmodel.py, exit status != 0: 36.04999219599995 36.065597489 35.604972167 Calling exit ...