Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001286/0.001286, 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.001527/0.001527, allocations: 212.7 kB / 22.24 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.442/1.442, 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 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1438/0.1438, allocations: 23.89 MB / 336.3 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Chemical_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.002124/0.002124, allocations: 67.91 kB / 471.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3099, allocations: 59.87 MB / 0.5186 GB, free: 9.516 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.0736/0.3835, allocations: 29.44 MB / 0.5473 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03583/0.4193, allocations: 23.05 MB / 0.5698 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.4214, allocations: 35.69 kB / 0.5698 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.4234, allocations: 0.5504 MB / 0.5704 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.4339, allocations: 2.157 MB / 0.5725 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01725/0.4511, allocations: 3.577 MB / 0.576 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01498/0.4661, allocations: 7.402 MB / 0.5832 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009323/0.4754, allocations: 4.312 MB / 0.5874 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.4884, allocations: 4.967 MB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/0.5039, allocations: 4.955 MB / 0.5971 GB, free: 9.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002444/0.5063, allocations: 0.6758 MB / 0.5978 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009296/0.5156, allocations: 3.187 MB / 0.6009 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003208/0.5188, allocations: 1.8 MB / 0.6026 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006697/0.5255, allocations: 2.903 MB / 0.6055 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02035/0.5459, allocations: 11.64 MB / 0.6168 GB, free: 5.012 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.5459, allocations: 7.984 kB / 0.6168 GB, free: 5.004 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5459, allocations: 0 / 0.6168 GB, free: 5.004 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002745/0.5462, allocations: 0 / 0.6168 GB, free: 5.004 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.02228/0.5685, allocations: 7.233 MB / 0.6239 GB, free: 13.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5685, allocations: 12.03 kB / 0.6239 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002599/0.5711, allocations: 0.654 MB / 0.6246 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.5788, allocations: 1.241 MB / 0.6258 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.589, allocations: 3.325 MB / 0.629 GB, free: 8.395 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/0.59, allocations: 1.003 MB / 0.63 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.5925, allocations: 0.4963 MB / 0.6305 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.6162, allocations: 9.469 MB / 0.6397 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.6163, allocations: 0 / 0.6397 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001853/0.6182, allocations: 196 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.6183, allocations: 116 kB / 0.64 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0244/0.6427, allocations: 12.66 MB / 0.6524 GB, free: 184 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.06503/0.7077, allocations: 27.33 MB / 0.6791 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05878/0.7665, allocations: 26.13 MB / 0.7046 GB, free: 11.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01044/0.7769, allocations: 4.712 MB / 0.7092 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04426/0.8212, allocations: 16.91 MB / 0.7257 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.676e-05/0.8213, allocations: 65.11 kB / 0.7258 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005215/0.8265, allocations: 1.285 MB / 0.727 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.255e-05/0.8265, allocations: 0 / 0.727 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3184/1.145, allocations: 24.17 MB / 0.7506 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.145, allocations: 91.86 kB / 0.7507 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006019/1.151, allocations: 3.053 MB / 0.7537 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/1.152, allocations: 85.95 kB / 0.7538 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001787/1.154, allocations: 2.229 MB / 0.756 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002193/1.156, allocations: 1.368 MB / 0.7573 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002973/1.159, allocations: 0.9802 MB / 0.7583 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.211e-05/1.159, allocations: 302.8 kB / 0.7586 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005105/1.164, allocations: 2.961 MB / 0.7614 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/1.17, allocations: 4.493 MB / 0.7658 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009796/1.18, allocations: 7.807 MB / 0.7735 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.173e-05/1.18, allocations: 11.62 kB / 0.7735 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.0547/1.234, allocations: 13.83 MB / 0.787 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.034e-05/1.234, allocations: 28 kB / 0.787 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.056e-05/1.234, allocations: 50.72 kB / 0.787 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008313/1.243, allocations: 3.473 MB / 0.7904 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/1.248, allocations: 1.266 MB / 0.7917 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02999/1.278, allocations: 17.95 MB / 0.8092 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/1.283, allocations: 247.8 kB / 0.8094 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009712/1.284, allocations: 283.8 kB / 0.8097 GB, free: 120.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.003034/1.287, allocations: 1.452 MB / 0.8111 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.288, allocations: 365.6 kB / 0.8115 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03577/1.324, allocations: 9.634 MB / 0.8209 GB, free: 109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.386e-05/1.324, allocations: 36 kB / 0.8209 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.394e-05/1.324, allocations: 11.94 kB / 0.8209 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001295/1.324, allocations: 19.92 kB / 0.8209 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04867/1.373, allocations: 14.91 MB / 0.8355 GB, free: 94.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.373, allocations: 4 kB / 0.8355 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004446/1.377, allocations: 0.8516 MB / 0.8363 GB, free: 93.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/1.383, allocations: 2.131 MB / 0.8384 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008198/1.384, allocations: 135.9 kB / 0.8386 GB, free: 90.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.405, allocations: 12.16 MB / 0.8504 GB, free: 78.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.405, allocations: 14.64 kB / 0.8504 GB, free: 78.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04/1.445, allocations: 12.96 MB / 0.8631 GB, free: 65.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/1.448, allocations: 0.9277 MB / 0.864 GB, free: 64.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.449, allocations: 95.97 kB / 0.8641 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/1.452, allocations: 163.8 kB / 0.8642 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/1.453, allocations: 470.2 kB / 0.8647 GB, free: 63.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004013/1.453, allocations: 147.9 kB / 0.8648 GB, free: 63.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002507/1.456, allocations: 1.992 MB / 0.8668 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.456, allocations: 2.656 kB / 0.8668 GB, free: 61.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006098/1.462, allocations: 2.069 MB / 0.8688 GB, free: 59.68 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.04265/1.505, allocations: 14.74 MB / 0.8832 GB, free: 45.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.519, allocations: 7.088 MB / 0.8901 GB, free: 37.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.519, allocations: 3.938 kB / 0.8901 GB, free: 37.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.008838/1.528, allocations: 3.77 MB / 0.8938 GB, free: 34.15 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.532, allocations: 0.7807 MB / 0.8946 GB, free: 33.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/1.695, allocations: 54.82 MB / 0.9481 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0051/1.7, allocations: 2.789 MB / 0.9508 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00575/1.706, allocations: 1.574 MB / 0.9524 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004607/1.71, allocations: 2.052 MB / 0.9544 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of SimCode: time 1.443e-06/1.71, allocations: 0 / 0.9544 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3981/2.108, allocations: 133.9 MB / 1.085 GB, free: 96.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.82/21.93, allocations: 12 kB / 1.085 GB, free: 96.34 MB / 0.5919 GB " [Timeout remaining time 638] (rm -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC_fmu --startTime=0 --stopTime=15000 --stepSize=6 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC.fmu > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 24.78522317390889] Failed to read output from testmodel.py, exit status != 0: 22.1204991042614 22.139876102 21.589983332 Calling exit ...