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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001509/0.001509, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.781 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.1486/0.1486, allocations: 23.99 MB / 336.4 MB, free: 10.84 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.002152/0.002152, allocations: 71.89 kB / 471.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 59.89 MB / 0.5188 GB, free: 9.504 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.0787/0.4016, allocations: 29.45 MB / 0.5475 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.4361, allocations: 23.05 MB / 0.57 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.4386, allocations: 31.75 kB / 0.5701 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.4409, allocations: 0.5426 MB / 0.5706 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009205/0.4501, allocations: 2.168 MB / 0.5727 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.4627, allocations: 3.577 MB / 0.5762 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.4731, allocations: 7.39 MB / 0.5834 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007429/0.4805, allocations: 4.315 MB / 0.5876 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008112/0.4886, allocations: 4.967 MB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009216/0.4978, allocations: 4.959 MB / 0.5973 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.5004, allocations: 0.6719 MB / 0.598 GB, free: 8.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01134/0.5117, allocations: 3.187 MB / 0.6011 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003583/0.5153, allocations: 1.804 MB / 0.6029 GB, free: 3.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006251/0.5216, allocations: 2.903 MB / 0.6057 GB, free: 492 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.5465, allocations: 11.63 MB / 0.617 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.5465, allocations: 0 / 0.617 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5465, allocations: 0 / 0.617 GB, free: 4.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002953/0.5468, allocations: 4 kB / 0.617 GB, free: 4.805 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.0215/0.5683, allocations: 7.233 MB / 0.6241 GB, free: 13.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5684, allocations: 8.031 kB / 0.6241 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001661/0.57, allocations: 0.6579 MB / 0.6248 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00657/0.5766, allocations: 1.241 MB / 0.626 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.5867, allocations: 3.329 MB / 0.6292 GB, free: 8.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.5877, allocations: 1.003 MB / 0.6302 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/0.5906, allocations: 0.4885 MB / 0.6307 GB, free: 6.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.6131, allocations: 9.473 MB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.6132, allocations: 4 kB / 0.6399 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.6143, allocations: 192 kB / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.6144, allocations: 116 kB / 0.6402 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02569/0.6401, allocations: 12.66 MB / 0.6526 GB, free: 15.98 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.0689/0.709, allocations: 27.34 MB / 0.6793 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05988/0.7688, allocations: 26.13 MB / 0.7048 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009134/0.778, allocations: 4.716 MB / 0.7094 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04266/0.8206, allocations: 16.92 MB / 0.7259 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/0.8207, allocations: 65.11 kB / 0.726 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005075/0.8258, allocations: 1.281 MB / 0.7272 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.285e-05/0.8258, allocations: 0 / 0.7272 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3371/1.163, allocations: 24.16 MB / 0.7508 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.163, allocations: 90.36 kB / 0.7509 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/1.168, allocations: 3.052 MB / 0.7539 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/1.169, allocations: 85.17 kB / 0.754 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.171, allocations: 2.235 MB / 0.7562 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/1.173, allocations: 1.36 MB / 0.7575 GB, free: 165 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.174, allocations: 0.9802 MB / 0.7585 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.174, allocations: 306.6 kB / 0.7588 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/1.179, allocations: 2.967 MB / 0.7616 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004977/1.184, allocations: 4.485 MB / 0.766 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009978/1.194, allocations: 7.812 MB / 0.7737 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.091e-05/1.194, allocations: 15.38 kB / 0.7737 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05361/1.247, allocations: 13.83 MB / 0.7872 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/1.247, allocations: 26.62 kB / 0.7872 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.552e-05/1.247, allocations: 55.34 kB / 0.7873 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008084/1.256, allocations: 3.466 MB / 0.7906 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005368/1.261, allocations: 1.262 MB / 0.7919 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/1.29, allocations: 17.95 MB / 0.8094 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.295, allocations: 249.1 kB / 0.8096 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009709/1.296, 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.002634/1.298, allocations: 1.454 MB / 0.8113 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008811/1.299, allocations: 361.7 kB / 0.8117 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03512/1.334, allocations: 9.64 MB / 0.8211 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.335, allocations: 40 kB / 0.8211 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/1.335, allocations: 7.938 kB / 0.8211 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001305/1.335, allocations: 22.83 kB / 0.8212 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04485/1.38, allocations: 14.9 MB / 0.8357 GB, free: 93.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/1.38, allocations: 4 kB / 0.8357 GB, free: 93.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004372/1.384, allocations: 0.8529 MB / 0.8365 GB, free: 92.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005743/1.39, allocations: 2.134 MB / 0.8386 GB, free: 90.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007057/1.39, allocations: 135.9 kB / 0.8388 GB, free: 90.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/1.411, allocations: 12.17 MB / 0.8506 GB, free: 78.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.411, allocations: 7.938 kB / 0.8506 GB, free: 78.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03891/1.45, allocations: 12.95 MB / 0.8633 GB, free: 65.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002955/1.453, allocations: 0.927 MB / 0.8642 GB, free: 64.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007418/1.454, allocations: 94.62 kB / 0.8643 GB, free: 64.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002494/1.456, allocations: 166.5 kB / 0.8644 GB, free: 63.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009676/1.457, allocations: 470.2 kB / 0.8649 GB, free: 63.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/1.458, allocations: 147.9 kB / 0.865 GB, free: 63.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002164/1.46, allocations: 2 MB / 0.867 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.46, allocations: 0 / 0.867 GB, free: 61.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006553/1.466, allocations: 2.064 MB / 0.869 GB, free: 59.29 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.04068/1.507, allocations: 14.75 MB / 0.8834 GB, free: 44.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.52, allocations: 7.077 MB / 0.8903 GB, free: 37.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.52, allocations: 0 / 0.8903 GB, free: 37.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007113/1.527, allocations: 3.774 MB / 0.894 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/1.532, allocations: 0.7747 MB / 0.8948 GB, free: 33.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1606/1.692, allocations: 54.82 MB / 0.9483 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/1.696, allocations: 2.777 MB / 0.951 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004649/1.7, allocations: 1.583 MB / 0.9526 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003869/1.704, allocations: 2.048 MB / 0.9546 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of SimCode: time 1.623e-06/1.704, allocations: 4 kB / 0.9546 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4028/2.107, allocations: 133.9 MB / 1.085 GB, free: 95.87 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/22.14, allocations: 7.609 kB / 1.085 GB, free: 95.87 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 & /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: 24.997441932093352] Failed to read output from testmodel.py, exit status != 0: 22.33491199184209 22.352603917 21.802118335 Calling exit ...