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.00186/0.00186, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002438/0.002438, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.965 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.1576/0.1576, allocations: 23.85 MB / 336.3 MB, free: 11.18 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.002212/0.002212, allocations: 71.89 kB / 471.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3288, allocations: 59.84 MB / 0.5186 GB, free: 9.621 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.04603/0.3748, allocations: 30.5 MB / 0.5484 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0372/0.412, allocations: 26.29 MB / 0.5741 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.414, allocations: 31.75 kB / 0.5741 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.4162, allocations: 0.597 MB / 0.5747 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.4238, allocations: 2.176 MB / 0.5768 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.4346, allocations: 3.581 MB / 0.5803 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.445, allocations: 7.406 MB / 0.5875 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006873/0.4518, allocations: 4.327 MB / 0.5918 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00858/0.4604, allocations: 4.967 MB / 0.5966 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009994/0.4704, allocations: 4.76 MB / 0.6013 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003125/0.4735, allocations: 0.6758 MB / 0.6019 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/0.4857, allocations: 3.367 MB / 0.6052 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003762/0.4895, allocations: 1.812 MB / 0.607 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00729/0.4967, allocations: 3.354 MB / 0.6102 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0244/0.5211, allocations: 11.62 MB / 0.6216 GB, free: 404 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5212, allocations: 3.938 kB / 0.6216 GB, free: 400 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5212, allocations: 0 / 0.6216 GB, free: 400 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003606/0.5215, allocations: 4 kB / 0.6216 GB, free: 396 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.02436/0.5459, allocations: 7.233 MB / 0.6287 GB, free: 9.078 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.5459, allocations: 12.03 kB / 0.6287 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003156/0.5491, allocations: 0.6539 MB / 0.6293 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007857/0.557, allocations: 1.241 MB / 0.6305 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00938/0.5663, allocations: 3.321 MB / 0.6338 GB, free: 3.777 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.5673, allocations: 1.007 MB / 0.6348 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/0.57, allocations: 0.4885 MB / 0.6352 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0241/0.5941, allocations: 9.469 MB / 0.6445 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.5943, allocations: 4 kB / 0.6445 GB, free: 8.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/0.5963, allocations: 196 kB / 0.6447 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.5965, allocations: 116 kB / 0.6448 GB, free: 8.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02716/0.6236, allocations: 12.75 MB / 0.6572 GB, free: 11.47 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.06632/0.6899, allocations: 30.78 MB / 0.6873 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06133/0.7513, allocations: 26.87 MB / 0.7135 GB, free: 2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009984/0.7613, allocations: 4.717 MB / 0.7181 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2687/1.03, allocations: 17.74 MB / 0.7355 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/1.03, allocations: 70.55 kB / 0.7355 GB, free: 169 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004989/1.035, allocations: 1.273 MB / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.832e-05/1.035, allocations: 0 / 0.7368 GB, free: 169 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.09574/1.131, allocations: 24.18 MB / 0.7604 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.131, allocations: 93.64 kB / 0.7605 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/1.135, allocations: 2.973 MB / 0.7634 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.136, allocations: 97.52 kB / 0.7635 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/1.137, allocations: 2.226 MB / 0.7656 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.139, allocations: 1.361 MB / 0.767 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/1.14, allocations: 0.9803 MB / 0.7679 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.388e-05/1.14, allocations: 305.1 kB / 0.7682 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004459/1.145, allocations: 2.956 MB / 0.7711 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005099/1.15, allocations: 4.489 MB / 0.7755 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009821/1.16, allocations: 7.816 MB / 0.7831 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.512e-05/1.16, allocations: 11.91 kB / 0.7831 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05476/1.214, allocations: 13.83 MB / 0.7966 GB, free: 134 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.187e-05/1.214, allocations: 34.75 kB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.91e-05/1.215, allocations: 50.62 kB / 0.7967 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008168/1.223, allocations: 3.467 MB / 0.8001 GB, free: 130.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.228, allocations: 1.272 MB / 0.8013 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/1.258, allocations: 18.14 MB / 0.8191 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/1.263, allocations: 258.4 kB / 0.8193 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.264, allocations: 279.3 kB / 0.8196 GB, free: 110.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.002985/1.267, allocations: 1.451 MB / 0.821 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009681/1.268, allocations: 368.3 kB / 0.8213 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03463/1.302, allocations: 9.633 MB / 0.8308 GB, free: 99.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.302, allocations: 40 kB / 0.8308 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/1.302, allocations: 4 kB / 0.8308 GB, free: 98.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/1.302, allocations: 23.86 kB / 0.8308 GB, free: 98.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04603/1.349, allocations: 15.5 MB / 0.846 GB, free: 83.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/1.349, allocations: 3.938 kB / 0.846 GB, free: 83.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004416/1.353, allocations: 0.8529 MB / 0.8468 GB, free: 82.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006/1.359, allocations: 2.115 MB / 0.8489 GB, free: 80.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.36, allocations: 138.6 kB / 0.849 GB, free: 80.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/1.381, allocations: 12.33 MB / 0.861 GB, free: 67.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.381, allocations: 7.938 kB / 0.861 GB, free: 67.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/1.419, allocations: 12.95 MB / 0.8737 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/1.422, allocations: 0.9201 MB / 0.8746 GB, free: 53.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.423, allocations: 99.91 kB / 0.8747 GB, free: 53.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.426, allocations: 163.8 kB / 0.8748 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001144/1.427, allocations: 469.9 kB / 0.8753 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003742/1.427, allocations: 148.5 kB / 0.8754 GB, free: 52.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002456/1.43, allocations: 1.996 MB / 0.8774 GB, free: 51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/1.43, allocations: 0 / 0.8774 GB, free: 51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006843/1.437, allocations: 2.072 MB / 0.8794 GB, free: 48.95 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.0406/1.477, allocations: 14.75 MB / 0.8938 GB, free: 34.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.491, allocations: 7.072 MB / 0.9007 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.491, allocations: 4.062 kB / 0.9007 GB, free: 27.22 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007854/1.499, allocations: 3.769 MB / 0.9044 GB, free: 23.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/1.503, allocations: 0.77 MB / 0.9051 GB, free: 22.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4356/1.939, allocations: 54.83 MB / 0.9587 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/1.942, allocations: 3.306 MB / 0.9619 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004422/1.947, allocations: 1.579 MB / 0.9634 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003263/1.95, allocations: 2.044 MB / 0.9654 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.031e-06/1.95, allocations: 2.625 kB / 0.9654 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/2.149, allocations: 133.2 MB / 1.096 GB, free: 85.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.75/38.9, allocations: 3.938 kB / 1.096 GB, free: 85.8 MB / 0.5919 GB " [Timeout remaining time 621] (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 sys.exit(0), Time elapsed: 42.225102067925036] Failed to read output from testmodel.py, exit status != 0: 39.097294811857864 39.115265831 38.589748218 Calling exit ...