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.0008864/0.0008864, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002258, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001049/0.001049, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002417, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8935/0.8935, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0857/0.9792, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08735/0.08735, allocations: 17.45 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01609/0.1034, allocations: 6.964 MB / 268.6 MB, free: 6.297 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: translateModel(Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 269.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.748e-05, allocations: 2.312 kB / 269.9 MB, free: 4.957 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1306/0.1306, allocations: 9.3 MB / 279.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.1464, allocations: 15.81 MB / 295 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.1478, allocations: 39.16 kB / 295 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009957/0.1488, allocations: 462.5 kB / 295.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.1526, allocations: 1.551 MB / 297.1 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005358/0.1579, allocations: 2.443 MB / 299.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006033/0.164, allocations: 7.582 MB / 307.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004732/0.1687, allocations: 4.591 MB / 311.7 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007913/0.1766, allocations: 6.586 MB / 318.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005547/0.1821, allocations: 4.609 MB / 322.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001654/0.1838, allocations: 0.6758 MB / 323.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.1888, allocations: 2.145 MB / 325.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.19, allocations: 1.161 MB / 326.8 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.1925, allocations: 1.833 MB / 328.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.202, allocations: 7.539 MB / 336.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.202, allocations: 0 / 336.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.202, allocations: 0 / 336.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.2023, allocations: 4 kB / 336.2 MB, free: 15.76 MB / 330.7 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.01036/0.2126, allocations: 7.601 MB / 343.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2127, allocations: 8.031 kB / 343.8 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.2162, allocations: 2.029 MB / 345.9 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.2195, allocations: 1.989 MB / 347.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/0.2199, allocations: 1.003 MB / 348.9 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007016/0.2206, allocations: 0.4885 MB / 349.3 MB, free: 2.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006396/0.227, allocations: 5.216 MB / 354.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.094e-05/0.2271, allocations: 4.125 kB / 354.6 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.2275, allocations: 196.1 kB / 354.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-05/0.2275, allocations: 120 kB / 354.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005364/0.2329, allocations: 4.451 MB / 359.3 MB, free: 8.223 MB / 346.7 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.0215/0.2544, allocations: 13.71 MB / 373 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03533/0.2897, allocations: 29.96 MB / 403 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003145/0.2929, allocations: 1.543 MB / 404.5 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/0.3057, allocations: 7.709 MB / 412.2 MB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.3058, allocations: 65.11 kB / 412.3 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002315/0.3081, allocations: 1.16 MB / 413.5 MB, free: 1.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=324): time 1.076e-05/0.3081, allocations: 0 / 413.5 MB, free: 1.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=375): time 0.07752/0.3856, allocations: 12.16 MB / 425.6 MB, free: 5.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3857, allocations: 90.36 kB / 425.7 MB, free: 5.203 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.3876, allocations: 2.364 MB / 428.1 MB, free: 2.805 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006884/0.3883, allocations: 89.7 kB / 428.2 MB, free: 2.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.3891, allocations: 1.878 MB / 430 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1359/0.525, allocations: 1.34 MB / 431.4 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.5264, allocations: 0.8787 MB / 432.3 MB, free: 113.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.029e-05/0.5264, allocations: 302.9 kB / 432.6 MB, free: 113.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.5279, allocations: 0.8069 MB / 433.4 MB, free: 113.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.5297, allocations: 2.217 MB / 435.6 MB, free: 111.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.5336, allocations: 3.764 MB / 439.3 MB, free: 109.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.711e-05/0.5336, allocations: 13.59 kB / 439.4 MB, free: 109.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=616) (initialization): time 0.02148/0.5551, allocations: 6.069 MB / 445.4 MB, free: 109.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.5552, allocations: 24.41 kB / 445.5 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/0.5552, allocations: 47.53 kB / 445.5 MB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/0.5672, allocations: 5.623 MB / 451.1 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/0.5708, allocations: 1.411 MB / 452.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.5811, allocations: 6.096 MB / 458.6 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.5839, allocations: 152.4 kB / 458.8 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004553/0.5844, allocations: 222 kB / 459 MB, free: 104.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (598): * Single equations (assignments): 595 * 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.001234/0.5856, allocations: 415.9 kB / 459.4 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.5862, allocations: 316.8 kB / 459.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.5984, allocations: 4.439 MB / 464.1 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.5984, allocations: 39.84 kB / 464.2 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/0.5984, allocations: 8 kB / 464.2 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/0.5985, allocations: 23.92 kB / 464.2 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/0.6156, allocations: 6.834 MB / 471.1 MB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/0.6157, allocations: 4 kB / 471.1 MB, free: 96.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/0.6184, allocations: 0.9226 MB / 472 MB, free: 95.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.6201, allocations: 449 kB / 472.4 MB, free: 94.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006879/0.627, allocations: 2.372 MB / 474.8 MB, free: 92.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007202/0.6277, allocations: 127.9 kB / 474.9 MB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007422/0.6351, allocations: 5.275 MB / 480.2 MB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.6351, allocations: 3.656 kB / 480.2 MB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.649, allocations: 5.263 MB / 485.5 MB, free: 81.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007322/0.6498, allocations: 95.97 kB / 485.6 MB, free: 81.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.6511, allocations: 83.98 kB / 485.6 MB, free: 81.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000587/0.6517, allocations: 380.5 kB / 486 MB, free: 81.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001966/0.6519, allocations: 107.9 kB / 486.1 MB, free: 81.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009166/0.6528, allocations: 1.137 MB / 487.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6528, allocations: 0 / 487.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004137/0.6569, allocations: 1.783 MB / 489 MB, free: 78.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (407): * Single equations (assignments): 404 * 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.001236/0.6581, allocations: 0.859 MB / 489.9 MB, free: 77.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004788/0.6629, allocations: 3.226 MB / 493.1 MB, free: 74.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001141/0.6631, allocations: 72.52 kB / 493.2 MB, free: 74.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002711/0.6658, allocations: 2.052 MB / 495.2 MB, free: 72.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/0.6689, allocations: 4.604 MB / 499.8 MB, free: 67.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/0.6972, allocations: 8.581 MB / 0.4965 GB, free: 58.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6982, allocations: 1.091 MB / 0.4976 GB, free: 57.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002099/0.7003, allocations: 0.5976 MB / 0.4982 GB, free: 57.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/0.702, allocations: 0.9441 MB / 0.4991 GB, free: 56.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.505e-06/0.702, allocations: 4 kB / 0.4991 GB, free: 56.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2184/0.9204, allocations: 94.96 MB / 0.5918 GB, free: 138.5 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 15.811341564171016]