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.001825/0.001825, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002333/0.002333, allocations: 221.5 kB / 22.25 MB, free: 5.258 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.809 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.1438/0.1438, allocations: 23.92 MB / 336.3 MB, free: 11.03 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.001963/0.001963, allocations: 75.02 kB / 471.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 59.87 MB / 0.5186 GB, free: 9.516 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.07425/0.409, allocations: 29.36 MB / 0.5473 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03229/0.4413, allocations: 23.05 MB / 0.5698 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.4433, allocations: 35.69 kB / 0.5699 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.4449, allocations: 0.5426 MB / 0.5704 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006757/0.4517, allocations: 2.164 MB / 0.5725 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.4617, allocations: 3.581 MB / 0.576 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008713/0.4704, allocations: 7.402 MB / 0.5832 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005791/0.4762, allocations: 4.335 MB / 0.5875 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007546/0.4837, allocations: 4.967 MB / 0.5923 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008693/0.4924, allocations: 4.764 MB / 0.597 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002412/0.4948, allocations: 0.6758 MB / 0.5976 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009653/0.5045, allocations: 3.253 MB / 0.6008 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002975/0.5075, allocations: 1.808 MB / 0.6026 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005187/0.5127, allocations: 2.903 MB / 0.6054 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01997/0.5326, allocations: 11.63 MB / 0.6168 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5326, allocations: 0 / 0.6168 GB, free: 5.129 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5326, allocations: 7.938 kB / 0.6168 GB, free: 5.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002918/0.5329, allocations: 0 / 0.6168 GB, free: 5.121 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.02055/0.5535, allocations: 7.229 MB / 0.6238 GB, free: 13.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5535, allocations: 12.03 kB / 0.6238 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001731/0.5553, allocations: 0.6579 MB / 0.6245 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/0.5613, allocations: 1.241 MB / 0.6257 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008611/0.5699, allocations: 3.321 MB / 0.6289 GB, free: 8.516 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008586/0.5708, allocations: 0.999 MB / 0.6299 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.5727, allocations: 0.4963 MB / 0.6304 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.5921, allocations: 9.473 MB / 0.6396 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.593e-05/0.5922, allocations: 3.938 kB / 0.6396 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007183/0.5929, allocations: 192 kB / 0.6398 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.593, allocations: 116 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02156/0.6146, allocations: 12.67 MB / 0.6523 GB, free: 304 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.06083/0.6754, allocations: 27.32 MB / 0.679 GB, free: 4.715 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05601/0.7314, allocations: 26.13 MB / 0.7045 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008278/0.7397, allocations: 4.72 MB / 0.7091 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03645/0.7762, allocations: 16.9 MB / 0.7256 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.7762, allocations: 65.11 kB / 0.7257 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004714/0.7809, allocations: 1.285 MB / 0.7269 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.711e-05/0.7809, allocations: 0 / 0.7269 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3242/1.105, allocations: 24.16 MB / 0.7505 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/1.105, allocations: 94.09 kB / 0.7506 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/1.109, allocations: 3.053 MB / 0.7536 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009051/1.11, allocations: 86.48 kB / 0.7537 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001255/1.111, allocations: 2.229 MB / 0.7559 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001709/1.113, allocations: 1.364 MB / 0.7572 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/1.114, allocations: 0.9818 MB / 0.7582 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/1.114, allocations: 302.8 kB / 0.7584 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004385/1.119, allocations: 2.967 MB / 0.7613 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/1.124, allocations: 4.487 MB / 0.7657 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00945/1.133, allocations: 7.817 MB / 0.7734 GB, free: 154 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-05/1.133, allocations: 11.69 kB / 0.7734 GB, free: 154 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05036/1.184, allocations: 13.82 MB / 0.7869 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/1.184, allocations: 28 kB / 0.7869 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.198e-05/1.184, allocations: 48 kB / 0.7869 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007495/1.191, allocations: 3.47 MB / 0.7903 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00504/1.196, allocations: 1.266 MB / 0.7916 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0265/1.223, allocations: 17.94 MB / 0.8091 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/1.227, allocations: 257.1 kB / 0.8093 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/1.228, allocations: 290 kB / 0.8096 GB, free: 120.4 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.002276/1.23, allocations: 1.451 MB / 0.811 GB, free: 119 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007893/1.231, allocations: 361.6 kB / 0.8114 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03116/1.262, allocations: 9.624 MB / 0.8208 GB, free: 109.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.262, allocations: 45.14 kB / 0.8208 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/1.262, allocations: 11.92 kB / 0.8208 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.262, allocations: 19.94 kB / 0.8208 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03991/1.302, allocations: 14.92 MB / 0.8354 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/1.302, allocations: 4 kB / 0.8354 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004177/1.306, allocations: 0.8489 MB / 0.8362 GB, free: 93.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/1.311, allocations: 2.128 MB / 0.8383 GB, free: 91.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008546/1.312, allocations: 142.5 kB / 0.8385 GB, free: 91.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.331, allocations: 12.16 MB / 0.8503 GB, free: 78.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.331, allocations: 14.55 kB / 0.8503 GB, free: 78.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03567/1.367, allocations: 12.95 MB / 0.863 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.37, allocations: 0.9251 MB / 0.8639 GB, free: 64.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.371, allocations: 91.97 kB / 0.864 GB, free: 64.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/1.374, allocations: 167.8 kB / 0.8641 GB, free: 64.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.375, allocations: 476.9 kB / 0.8646 GB, free: 63.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005555/1.376, allocations: 147.9 kB / 0.8647 GB, free: 63.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002686/1.379, allocations: 1.992 MB / 0.8667 GB, free: 61.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.379, allocations: 0 / 0.8667 GB, free: 61.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006795/1.386, allocations: 2.069 MB / 0.8687 GB, free: 59.79 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.03797/1.423, allocations: 14.74 MB / 0.8831 GB, free: 45.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.437, allocations: 7.072 MB / 0.89 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.437, allocations: 4 kB / 0.89 GB, free: 38.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006931/1.444, allocations: 3.77 MB / 0.8937 GB, free: 34.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/1.448, allocations: 0.7806 MB / 0.8945 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.147/1.595, allocations: 54.82 MB / 0.948 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.598, allocations: 2.781 MB / 0.9507 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004433/1.603, allocations: 1.576 MB / 0.9523 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/1.606, allocations: 2.048 MB / 0.9543 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of SimCode: time 1.213e-06/1.606, allocations: 0 / 0.9543 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4055/2.012, allocations: 135.7 MB / 1.087 GB, free: 94.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/20.57, allocations: 7.438 kB / 1.087 GB, free: 94.45 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 & 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: 23.412502232997213] Failed to read output from testmodel.py, exit status != 0: 20.756343326997012 20.773954763 20.237611932 Calling exit ...