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.001899/0.001899, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001481/0.001481, allocations: 161.8 kB / 22.46 MB, free: 5.375 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.1263/0.1263, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 412 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.828e-05/4.022e-05, allocations: 5.797 kB / 412 MB, free: 4.414 MB / 334.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.04019/0.04023, allocations: 29.74 MB / 441.7 MB, free: 6.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2187/0.2589, allocations: 23.02 MB / 464.7 MB, free: 26.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.2607, allocations: 36.19 kB / 464.8 MB, free: 26.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.2627, allocations: 0.5551 MB / 465.3 MB, free: 26.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008654/0.2714, allocations: 2.242 MB / 467.6 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.2831, allocations: 3.682 MB / 471.2 MB, free: 23.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007206/0.2903, allocations: 7.645 MB / 478.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00469/0.295, allocations: 4.337 MB / 483.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007949/0.3029, allocations: 6.338 MB / 489.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006623/0.3095, allocations: 4.61 MB / 494.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.311, allocations: 0.6758 MB / 494.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008808/0.3198, allocations: 3.198 MB / 498 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.3216, allocations: 1.835 MB / 499.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004794/0.3264, allocations: 2.546 MB / 0.4906 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02579/0.3522, allocations: 12.32 MB / 0.5027 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3522, allocations: 0 / 0.5027 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3522, allocations: 2.656 kB / 0.5027 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002537/0.3524, allocations: 0 / 0.5027 GB, free: 2.047 MB / 382.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.02042/0.3728, allocations: 7.185 MB / 0.5097 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3729, allocations: 8.031 kB / 0.5097 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006587/0.3795, allocations: 1.24 MB / 0.5109 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008311/0.3878, allocations: 3.314 MB / 0.5142 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009233/0.3887, allocations: 1.015 MB / 0.5151 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.3907, allocations: 0.4937 MB / 0.5156 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01862/0.4093, allocations: 9.459 MB / 0.5249 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-05/0.4094, allocations: 8.125 kB / 0.5249 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007142/0.4101, allocations: 196.4 kB / 0.5251 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.4102, allocations: 119.9 kB / 0.5252 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02227/0.4325, allocations: 12.67 MB / 0.5375 GB, free: 14.01 MB / 430.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.0619/0.4944, allocations: 26.73 MB / 0.5636 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06055/0.555, allocations: 26.12 MB / 0.5892 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0096/0.5646, allocations: 4.723 MB / 0.5938 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03856/0.6031, allocations: 16.89 MB / 0.6103 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/0.6032, allocations: 65.11 kB / 0.6103 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005164/0.6084, allocations: 1.259 MB / 0.6116 GB, free: 2.953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=324): time 1.749e-05/0.6084, allocations: 0 / 0.6116 GB, free: 2.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=376): time 0.3095/0.9179, allocations: 24.17 MB / 0.6352 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.918, allocations: 98.64 kB / 0.6353 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/0.9212, allocations: 2.835 MB / 0.638 GB, free: 163.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007636/0.922, allocations: 86.39 kB / 0.6381 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000967/0.923, allocations: 2.213 MB / 0.6403 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009861/0.924, allocations: 1.348 MB / 0.6416 GB, free: 161.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.9254, allocations: 0.9734 MB / 0.6425 GB, free: 161.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.9255, allocations: 305.1 kB / 0.6428 GB, free: 160.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/0.9296, allocations: 2.961 MB / 0.6457 GB, free: 159.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004675/0.9343, allocations: 4.49 MB / 0.6501 GB, free: 157 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008752/0.943, allocations: 7.815 MB / 0.6577 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/0.9431, allocations: 15.69 kB / 0.6577 GB, free: 152.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05607/0.9991, allocations: 13.81 MB / 0.6712 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.9992, allocations: 26.53 kB / 0.6713 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.9993, allocations: 49.47 kB / 0.6713 GB, free: 145.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008433/1.008, allocations: 3.48 MB / 0.6747 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/1.013, allocations: 1.262 MB / 0.6759 GB, free: 141.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02986/1.043, allocations: 17.87 MB / 0.6934 GB, free: 123.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00462/1.048, allocations: 254.5 kB / 0.6936 GB, free: 122.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007749/1.049, allocations: 279.8 kB / 0.6939 GB, free: 122.5 MB / 0.4981 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.002518/1.051, allocations: 1.443 MB / 0.6953 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008566/1.052, allocations: 356.4 kB / 0.6956 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0372/1.089, allocations: 9.612 MB / 0.705 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.476e-05/1.089, allocations: 42.66 kB / 0.7051 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.089, allocations: 4 kB / 0.7051 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001575/1.089, allocations: 19.92 kB / 0.7051 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/1.135, allocations: 14.37 MB / 0.7191 GB, free: 96.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/1.135, allocations: 4 kB / 0.7191 GB, free: 96.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004589/1.14, allocations: 0.845 MB / 0.72 GB, free: 96.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006009/1.146, allocations: 2.127 MB / 0.722 GB, free: 93.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000742/1.146, allocations: 135.9 kB / 0.7222 GB, free: 93.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02181/1.168, allocations: 12.1 MB / 0.734 GB, free: 81.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.168, allocations: 10.66 kB / 0.734 GB, free: 81.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04136/1.209, allocations: 12.93 MB / 0.7466 GB, free: 68.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002736/1.212, allocations: 0.8961 MB / 0.7475 GB, free: 67.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007403/1.213, allocations: 99.66 kB / 0.7476 GB, free: 67.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/1.216, allocations: 159.8 kB / 0.7477 GB, free: 67.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/1.217, allocations: 474.2 kB / 0.7482 GB, free: 66.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/1.217, allocations: 150.6 kB / 0.7483 GB, free: 66.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002056/1.219, allocations: 1.843 MB / 0.7501 GB, free: 64.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/1.219, allocations: 0 / 0.7501 GB, free: 64.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007463/1.226, allocations: 2.064 MB / 0.7522 GB, free: 62.94 MB / 0.4981 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.002856/1.229, allocations: 1.37 MB / 0.7535 GB, free: 61.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0133/1.243, allocations: 7.074 MB / 0.7604 GB, free: 54.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.243, allocations: 0 / 0.7604 GB, free: 54.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007576/1.25, allocations: 3.765 MB / 0.7641 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/1.254, allocations: 0.7558 MB / 0.7648 GB, free: 50.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.273, allocations: 10.82 MB / 0.7754 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/1.275, allocations: 2.785 MB / 0.7781 GB, free: 36.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004284/1.279, allocations: 1.567 MB / 0.7796 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.281, allocations: 451 kB / 0.7801 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of SimCode: time 1.934e-06/1.281, allocations: 4 kB / 0.7801 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.3452/1.626, allocations: 91.68 MB / 0.8696 GB, free: 154.4 MB / 0.5137 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: 9.403085559606552] Failed to read output from testmodel.py, exit status != 0: 1.6355030611157417 1.643310794 1.288844943 Calling exit ...