Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.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.001908/0.001908, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002125/0.002125, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.545/1.545, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1422/0.1422, allocations: 17.38 MB / 276.9 MB, free: 11.68 MB / 266.7 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.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 352.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.643e-05, allocations: 4.984 kB / 352.7 MB, free: 10.28 MB / 282.7 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.AcidBase.Dev.RedCellMembrane): time 0.06797/0.068, allocations: 51.32 MB / 404.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2795/0.3475, allocations: 122 MB / 0.5137 GB, free: 12.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005059/0.3525, allocations: 99.25 kB / 0.5138 GB, free: 12.15 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007455/0.36, allocations: 2.184 MB / 0.5159 GB, free: 9.957 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03246/0.3924, allocations: 10.53 MB / 0.5262 GB, free: 15.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04954/0.442, allocations: 16.24 MB / 0.5421 GB, free: 15.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01736/0.4593, allocations: 10.89 MB / 0.5527 GB, free: 4.309 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1903/0.6497, allocations: 4.804 MB / 0.5574 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.6626, allocations: 7.394 MB / 0.5646 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01096/0.6736, allocations: 4.912 MB / 0.5694 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003313/0.6769, allocations: 0.8863 MB / 0.5703 GB, free: 10.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03381/0.7107, allocations: 13.14 MB / 0.5831 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.7144, allocations: 2.17 MB / 0.5852 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007122/0.7216, allocations: 3.367 MB / 0.5885 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05304/0.7746, allocations: 26.67 MB / 0.6146 GB, free: 7.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7746, allocations: 0 / 0.6146 GB, free: 7.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7746, allocations: 1 kB / 0.6146 GB, free: 7.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000428/0.775, allocations: 0 / 0.6146 GB, free: 7.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.02827/0.8033, allocations: 11.2 MB / 0.6255 GB, free: 1.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.8034, allocations: 12.03 kB / 0.6255 GB, free: 1.586 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/0.8212, allocations: 3.206 MB / 0.6287 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.8327, allocations: 3.585 MB / 0.6322 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009611/0.8337, allocations: 0.59 MB / 0.6327 GB, free: 11.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004081/0.8378, allocations: 0.7345 MB / 0.6334 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03497/0.8727, allocations: 9.242 MB / 0.6425 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003975/0.8731, allocations: 3.281 kB / 0.6425 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/0.8769, allocations: 288.4 kB / 0.6427 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000278/0.8772, allocations: 175.9 kB / 0.6429 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04508/0.9223, allocations: 12.04 MB / 0.6547 GB, free: 4.605 MB / 458.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.0808/1.003, allocations: 27.55 MB / 0.6816 GB, free: 9.484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04377/1.047, allocations: 16.68 MB / 0.6979 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009822/1.057, allocations: 3.709 MB / 0.7015 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.066/1.123, allocations: 20.39 MB / 0.7214 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/1.123, allocations: 96.89 kB / 0.7215 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003516/1.126, allocations: 0.6236 MB / 0.7221 GB, free: 212 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=581): time 2.637e-05/1.126, allocations: 0 / 0.7221 GB, free: 212 kB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.2707/1.397, allocations: 31.5 MB / 0.7529 GB, free: 215.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/1.397, allocations: 128.2 kB / 0.753 GB, free: 215.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/1.402, allocations: 4.127 MB / 0.757 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/1.403, allocations: 150.5 kB / 0.7572 GB, free: 215.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.405, allocations: 3.488 MB / 0.7606 GB, free: 213.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004036/1.409, allocations: 2.838 MB / 0.7634 GB, free: 211.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003291/1.413, allocations: 1.943 MB / 0.7652 GB, free: 210.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/1.413, allocations: 481.9 kB / 0.7657 GB, free: 210.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.417, allocations: 2.676 MB / 0.7683 GB, free: 209.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/1.425, allocations: 6.932 MB / 0.7751 GB, free: 203.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.441, allocations: 11.88 MB / 0.7867 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.441, allocations: 26.62 kB / 0.7867 GB, free: 195.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02453/1.465, allocations: 10.86 MB / 0.7973 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/1.465, allocations: 44 kB / 0.7974 GB, free: 191 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.976e-05/1.465, allocations: 92 kB / 0.7975 GB, free: 190.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/1.477, allocations: 2.129 MB / 0.7995 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01075/1.488, allocations: 2.326 MB / 0.8018 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/1.504, allocations: 15.44 MB / 0.8169 GB, free: 172 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007098/1.512, allocations: 289.7 kB / 0.8172 GB, free: 171.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.513, allocations: 0.5169 MB / 0.8177 GB, free: 171.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (1143): * Single equations (assignments): 1137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00451/1.518, allocations: 1.224 MB / 0.8189 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002092/1.52, allocations: 0.8048 MB / 0.8196 GB, free: 169.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/1.541, allocations: 9.802 MB / 0.8292 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.792e-05/1.541, allocations: 83.8 kB / 0.8293 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.541, allocations: 4 kB / 0.8293 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001814/1.541, allocations: 40.45 kB / 0.8293 GB, free: 161 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03298/1.574, allocations: 15.25 MB / 0.8442 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/1.574, allocations: 4 kB / 0.8442 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008113/1.582, allocations: 1.531 MB / 0.8457 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.593, allocations: 1.891 MB / 0.8476 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001318/1.594, allocations: 271.8 kB / 0.8478 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.608, allocations: 14.67 MB / 0.8622 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.608, allocations: 4 kB / 0.8622 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02386/1.632, allocations: 12.68 MB / 0.8745 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/1.636, allocations: 1.238 MB / 0.8758 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001304/1.637, allocations: 148 kB / 0.8759 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/1.641, allocations: 148 kB / 0.876 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/1.642, allocations: 0.6144 MB / 0.8766 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005676/1.642, allocations: 322.4 kB / 0.8769 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002396/1.645, allocations: 2.086 MB / 0.879 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.645, allocations: 3.828 kB / 0.879 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01344/1.658, allocations: 5.107 MB / 0.884 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.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 (761): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/1.669, allocations: 5.931 MB / 0.8898 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01535/1.684, allocations: 8.984 MB / 0.8985 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.684, allocations: 0 / 0.8985 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007528/1.692, allocations: 4.881 MB / 0.9033 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00797/1.7, allocations: 1.331 MB / 0.9046 GB, free: 85.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.72, allocations: 12.8 MB / 0.9171 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/1.723, allocations: 2.704 MB / 0.9197 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007326/1.73, allocations: 1.647 MB / 0.9214 GB, free: 68.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003136/1.734, allocations: 1.133 MB / 0.9225 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/1.734, allocations: 0 / 0.9225 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.3676/2.101, allocations: 165.6 MB / 1.084 GB, free: 137.3 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 14.019099883036688]