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.001248/0.001248, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00143/0.00143, allocations: 220.5 kB / 22.25 MB, free: 5.105 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.415/1.415, 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 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.1479/0.1479, allocations: 23.89 MB / 336.3 MB, free: 10.96 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: translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [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.002115/0.002115, allocations: 67.91 kB / 471.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2937, allocations: 59.86 MB / 0.519 GB, free: 9.734 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.07157/0.3653, allocations: 29.32 MB / 0.5477 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03186/0.3971, allocations: 23.05 MB / 0.5702 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.3989, allocations: 35.69 kB / 0.5702 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.4008, allocations: 0.5465 MB / 0.5708 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006766/0.4076, allocations: 2.157 MB / 0.5729 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01017/0.4177, allocations: 3.585 MB / 0.5764 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.4278, allocations: 7.406 MB / 0.5836 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005875/0.4337, allocations: 4.327 MB / 0.5878 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007818/0.4415, allocations: 4.971 MB / 0.5927 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00857/0.4501, allocations: 4.76 MB / 0.5973 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002087/0.4522, allocations: 0.6758 MB / 0.598 GB, free: 8.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00943/0.4616, allocations: 3.265 MB / 0.6012 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003295/0.4649, allocations: 1.8 MB / 0.6029 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005167/0.4701, allocations: 2.9 MB / 0.6058 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01918/0.4893, allocations: 11.64 MB / 0.6171 GB, free: 5.156 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4893, allocations: 0 / 0.6171 GB, free: 5.156 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4893, allocations: 0 / 0.6171 GB, free: 5.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002384/0.4895, allocations: 0 / 0.6171 GB, free: 5.156 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.01912/0.5086, allocations: 7.241 MB / 0.6242 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5087, allocations: 8.031 kB / 0.6242 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006129/0.5148, allocations: 1.241 MB / 0.6254 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009064/0.5239, allocations: 3.313 MB / 0.6287 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008661/0.5247, allocations: 1.007 MB / 0.6296 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.5267, allocations: 0.4924 MB / 0.6301 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5449, allocations: 9.462 MB / 0.6394 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001012/0.545, allocations: 11.92 kB / 0.6394 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007646/0.5458, allocations: 200 kB / 0.6396 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.719e-05/0.5458, allocations: 116 kB / 0.6397 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/0.567, allocations: 12.66 MB / 0.652 GB, free: 0.9961 MB / 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.06203/0.6291, allocations: 26.73 MB / 0.6781 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05691/0.686, allocations: 26.12 MB / 0.7036 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008502/0.6945, allocations: 4.72 MB / 0.7083 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03938/0.7339, allocations: 16.9 MB / 0.7248 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.052e-05/0.7339, allocations: 69.11 kB / 0.7248 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004897/0.7388, allocations: 1.258 MB / 0.726 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=324): time 1.221e-05/0.7388, allocations: 0 / 0.726 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376): time 0.3134/1.052, allocations: 24.16 MB / 0.7496 GB, free: 169.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/1.052, allocations: 90.39 kB / 0.7497 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/1.056, allocations: 2.839 MB / 0.7525 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008954/1.057, allocations: 85.86 kB / 0.7526 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/1.058, allocations: 2.223 MB / 0.7547 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.059, allocations: 1.359 MB / 0.7561 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.061, allocations: 0.9864 MB / 0.757 GB, free: 166 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.624e-05/1.061, allocations: 305.2 kB / 0.7573 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004067/1.065, allocations: 2.969 MB / 0.7602 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004454/1.069, allocations: 4.487 MB / 0.7646 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008401/1.078, allocations: 7.811 MB / 0.7722 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-05/1.078, allocations: 15.66 kB / 0.7723 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05179/1.129, allocations: 13.82 MB / 0.7857 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/1.129, allocations: 24 kB / 0.7858 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.711e-05/1.13, allocations: 50.66 kB / 0.7858 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007923/1.137, allocations: 3.467 MB / 0.7892 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/1.143, allocations: 1.266 MB / 0.7904 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05044/1.193, allocations: 17.88 MB / 0.8079 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/1.2, allocations: 254.5 kB / 0.8081 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001537/1.202, allocations: 279.8 kB / 0.8084 GB, free: 122.1 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.004391/1.206, allocations: 1.452 MB / 0.8098 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.208, allocations: 345.7 kB / 0.8102 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03848/1.246, allocations: 9.611 MB / 0.8195 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/1.246, allocations: 42.66 kB / 0.8196 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.246, allocations: 7.938 kB / 0.8196 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/1.246, allocations: 19.92 kB / 0.8196 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04234/1.289, allocations: 14.36 MB / 0.8336 GB, free: 96.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.623e-05/1.289, allocations: 4 kB / 0.8336 GB, free: 96.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004211/1.293, allocations: 0.8489 MB / 0.8345 GB, free: 95.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005592/1.299, allocations: 2.136 MB / 0.8366 GB, free: 93.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006875/1.299, allocations: 135.9 kB / 0.8367 GB, free: 93.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/1.319, allocations: 12.1 MB / 0.8485 GB, free: 81.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.319, allocations: 7.938 kB / 0.8485 GB, free: 81 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03667/1.356, allocations: 12.94 MB / 0.8611 GB, free: 68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002875/1.359, allocations: 0.898 MB / 0.862 GB, free: 67.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00089/1.359, allocations: 102.6 kB / 0.8621 GB, free: 67.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002359/1.362, allocations: 159.8 kB / 0.8623 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000905/1.363, allocations: 476.8 kB / 0.8627 GB, free: 66.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/1.363, allocations: 147.9 kB / 0.8629 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001828/1.365, allocations: 1.847 MB / 0.8647 GB, free: 64.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.365, allocations: 2.625 kB / 0.8647 GB, free: 64.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006301/1.371, allocations: 2.058 MB / 0.8667 GB, free: 62.39 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.002295/1.373, allocations: 1.32 MB / 0.868 GB, free: 61.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.385, allocations: 7.081 MB / 0.8749 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/1.385, allocations: 0 / 0.8749 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006414/1.392, allocations: 3.77 MB / 0.8786 GB, free: 50.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.395, allocations: 0.7644 MB / 0.8793 GB, free: 49.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.409, allocations: 10.98 MB / 0.89 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.411, allocations: 2.789 MB / 0.8928 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003386/1.414, allocations: 1.561 MB / 0.8943 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.416, allocations: 450 kB / 0.8947 GB, free: 33.99 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/1.416, allocations: 0 / 0.8947 GB, free: 33.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.326/1.742, allocations: 100.1 MB / 0.9924 GB, free: 181.4 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.973638302646577] Failed to read output from testmodel.py, exit status != 0: 1.7503498368896544 1.758670087 1.26717068 Calling exit ...