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.001332/0.001332, allocations: 80.3 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.001495/0.001495, allocations: 158.2 kB / 22.45 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.415/1.415, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1347/0.1347, allocations: 17.45 MB / 276.6 MB, free: 15.22 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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.633e-06/1.633e-06, allocations: 0 / 412.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.572e-05, allocations: 2.281 kB / 412.1 MB, free: 4.266 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.03859/0.03861, allocations: 29.73 MB / 441.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2109/0.2495, allocations: 23.01 MB / 464.9 MB, free: 26.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.2512, allocations: 36.44 kB / 464.9 MB, free: 26.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.2532, allocations: 0.5624 MB / 465.5 MB, free: 26.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007975/0.2612, allocations: 2.249 MB / 467.7 MB, free: 25.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.2726, allocations: 3.681 MB / 471.4 MB, free: 22.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009106/0.2817, allocations: 7.64 MB / 479 MB, free: 18.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006482/0.2882, allocations: 4.342 MB / 483.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.3003, allocations: 6.337 MB / 489.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008272/0.3086, allocations: 4.604 MB / 494.3 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002655/0.3113, allocations: 0.6719 MB / 495 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.3232, allocations: 3.209 MB / 498.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002774/0.326, allocations: 1.831 MB / 0.4883 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006956/0.333, allocations: 2.556 MB / 0.4908 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02629/0.3593, allocations: 12.3 MB / 0.5028 GB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3593, allocations: 0 / 0.5028 GB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3593, allocations: 0 / 0.5028 GB, free: 1.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003361/0.3596, allocations: 4 kB / 0.5028 GB, free: 1.824 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.02454/0.3841, allocations: 7.192 MB / 0.5099 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3842, allocations: 12.03 kB / 0.5099 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007824/0.392, allocations: 1.239 MB / 0.5111 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008851/0.4009, allocations: 3.314 MB / 0.5143 GB, free: 6.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.4019, allocations: 1.007 MB / 0.5153 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.4043, allocations: 0.4963 MB / 0.5158 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.4294, allocations: 9.458 MB / 0.525 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.4296, allocations: 192 / 0.525 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/0.4315, allocations: 196.4 kB / 0.5252 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.4316, allocations: 122.6 kB / 0.5253 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02765/0.4593, allocations: 12.66 MB / 0.5377 GB, free: 13.79 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.06935/0.5286, allocations: 26.74 MB / 0.5638 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06313/0.5918, allocations: 26.13 MB / 0.5893 GB, free: 9.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/0.6019, allocations: 4.72 MB / 0.5939 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0432/0.6451, allocations: 16.89 MB / 0.6104 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/0.6452, allocations: 69.05 kB / 0.6105 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006067/0.6513, allocations: 1.257 MB / 0.6117 GB, free: 2.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=324): time 1.835e-05/0.6513, allocations: 0 / 0.6117 GB, free: 2.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=376): time 0.291/0.9423, allocations: 24.17 MB / 0.6353 GB, free: 164.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.9424, allocations: 99.47 kB / 0.6354 GB, free: 164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004563/0.9469, allocations: 2.84 MB / 0.6382 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/0.9482, allocations: 88.67 kB / 0.6383 GB, free: 163.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.9495, allocations: 2.213 MB / 0.6404 GB, free: 162.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/0.9513, allocations: 1.341 MB / 0.6417 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002553/0.9539, allocations: 0.972 MB / 0.6427 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.9539, allocations: 306.1 kB / 0.643 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004874/0.9588, allocations: 2.96 MB / 0.6459 GB, free: 159.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005391/0.9642, allocations: 4.49 MB / 0.6503 GB, free: 156.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009619/0.9738, allocations: 7.812 MB / 0.6579 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.878e-05/0.9739, allocations: 14.94 kB / 0.6579 GB, free: 152.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=617) (initialization): time 0.05678/1.031, allocations: 13.81 MB / 0.6714 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/1.031, allocations: 26.81 kB / 0.6714 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.849e-05/1.031, allocations: 45.75 kB / 0.6715 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008702/1.04, allocations: 3.477 MB / 0.6749 GB, free: 142.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/1.045, allocations: 1.274 MB / 0.6761 GB, free: 140.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/1.076, allocations: 17.87 MB / 0.6935 GB, free: 122.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005321/1.081, allocations: 247.8 kB / 0.6938 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/1.082, allocations: 283.8 kB / 0.6941 GB, free: 122.2 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.00356/1.086, allocations: 1.446 MB / 0.6955 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.087, allocations: 351.8 kB / 0.6958 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03812/1.125, allocations: 9.625 MB / 0.7052 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/1.125, allocations: 40 kB / 0.7052 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.031e-05/1.125, allocations: 6.656 kB / 0.7052 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/1.125, allocations: 19.92 kB / 0.7053 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04899/1.174, allocations: 14.35 MB / 0.7193 GB, free: 96.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/1.174, allocations: 6.812 kB / 0.7193 GB, free: 96.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004842/1.179, allocations: 0.849 MB / 0.7201 GB, free: 95.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006127/1.185, allocations: 2.121 MB / 0.7222 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009754/1.186, allocations: 143.9 kB / 0.7223 GB, free: 93.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02224/1.209, allocations: 12.1 MB / 0.7341 GB, free: 81.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.209, allocations: 4 kB / 0.7341 GB, free: 81.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04252/1.251, allocations: 12.93 MB / 0.7468 GB, free: 68.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002863/1.254, allocations: 0.9063 MB / 0.7477 GB, free: 67.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.255, allocations: 95.66 kB / 0.7477 GB, free: 67.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/1.259, allocations: 163.8 kB / 0.7479 GB, free: 66.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001426/1.26, allocations: 474.2 kB / 0.7484 GB, free: 66.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000576/1.261, allocations: 143.9 kB / 0.7485 GB, free: 66.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002589/1.263, allocations: 1.849 MB / 0.7503 GB, free: 64.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.263, allocations: 0 / 0.7503 GB, free: 64.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006798/1.27, allocations: 2.059 MB / 0.7523 GB, free: 62.59 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.002468/1.272, allocations: 1.373 MB / 0.7537 GB, free: 61.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.285, allocations: 7.072 MB / 0.7606 GB, free: 54.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/1.285, allocations: 0 / 0.7606 GB, free: 54.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007102/1.292, allocations: 3.77 MB / 0.7642 GB, free: 50.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.296, allocations: 0.7555 MB / 0.765 GB, free: 49.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.312, allocations: 10.81 MB / 0.7755 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001912/1.314, allocations: 2.785 MB / 0.7783 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003604/1.318, allocations: 1.566 MB / 0.7798 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/1.319, allocations: 455 kB / 0.7802 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/1.319, allocations: 0 / 0.7802 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.3026/1.622, allocations: 91.69 MB / 0.8698 GB, free: 154.2 MB / 0.5137 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.123028136789799] Failed to read output from testmodel.py, exit status != 0: 1.6310752145946026 1.63994412 1.278177796 Calling exit ...