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.001476/0.001476, allocations: 84.73 kB / 19.43 MB, free: 336 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.001628/0.001628, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.1677/0.1677, allocations: 17.37 MB / 276.9 MB, free: 11.66 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.934e-06/1.934e-06, allocations: 0 / 352.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.528e-05, allocations: 4.984 kB / 352.7 MB, free: 10.29 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.0667/0.06674, allocations: 47.38 MB / 400.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2553/0.322, allocations: 106.1 MB / 0.4943 GB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004746/0.3267, allocations: 99.19 kB / 0.4944 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007462/0.3342, allocations: 2.182 MB / 0.4966 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03353/0.3677, allocations: 10.53 MB / 0.5069 GB, free: 1.629 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0469/0.4146, allocations: 16.23 MB / 0.5227 GB, free: 1.422 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01849/0.4331, allocations: 10.9 MB / 0.5333 GB, free: 6.473 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008547/0.4417, allocations: 4.842 MB / 0.5381 GB, free: 1.555 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01502/0.4567, allocations: 7.399 MB / 0.5453 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.4676, allocations: 4.845 MB / 0.55 GB, free: 5.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003237/0.4708, allocations: 0.8867 MB / 0.5509 GB, free: 4.402 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03937/0.5102, allocations: 13.16 MB / 0.5638 GB, free: 7.215 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003983/0.5141, allocations: 2.161 MB / 0.5659 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007569/0.5217, allocations: 3.364 MB / 0.5691 GB, free: 1.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2316/0.7533, allocations: 26.63 MB / 0.5952 GB, free: 30.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7533, allocations: 0 / 0.5952 GB, free: 30.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.7533, allocations: 0 / 0.5952 GB, free: 30.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000323/0.7536, allocations: 0 / 0.5952 GB, free: 30.27 MB / 442.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.02306/0.7767, allocations: 10.54 MB / 0.6054 GB, free: 25.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7767, allocations: 9.469 kB / 0.6055 GB, free: 25.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.7878, allocations: 3.207 MB / 0.6086 GB, free: 24.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007986/0.7958, allocations: 3.583 MB / 0.6121 GB, free: 23.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/0.7962, allocations: 0.5793 MB / 0.6127 GB, free: 23.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.7982, allocations: 0.7399 MB / 0.6134 GB, free: 23.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.8163, allocations: 9.217 MB / 0.6224 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.8164, allocations: 7.938 kB / 0.6224 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009028/0.8173, allocations: 291.8 kB / 0.6227 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.8174, allocations: 174.5 kB / 0.6228 GB, free: 23.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.8362, allocations: 12.57 MB / 0.6351 GB, free: 22.6 MB / 442.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.04093/0.8771, allocations: 24.25 MB / 0.6588 GB, free: 2.133 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04073/0.9179, allocations: 17.11 MB / 0.6755 GB, free: 1.027 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009607/0.9275, allocations: 4.099 MB / 0.6795 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05696/0.9844, allocations: 20.19 MB / 0.6992 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.9845, allocations: 98 kB / 0.6993 GB, free: 8.953 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00261/0.9872, allocations: 0.6202 MB / 0.6999 GB, free: 8.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=581): time 9.988e-06/0.9872, allocations: 0 / 0.6999 GB, free: 8.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=757): time 0.1373/1.124, allocations: 35.45 MB / 0.7345 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.125, allocations: 129.3 kB / 0.7347 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005541/1.13, allocations: 3.278 MB / 0.7379 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/1.131, allocations: 149.7 kB / 0.738 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003362/1.135, allocations: 3.226 MB / 0.7412 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004096/1.139, allocations: 2.68 MB / 0.7438 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003221/1.142, allocations: 1.694 MB / 0.7454 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.142, allocations: 301.1 kB / 0.7457 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006521/1.149, allocations: 2.869 MB / 0.7485 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1592/1.308, allocations: 5.74 MB / 0.7541 GB, free: 222.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01554/1.323, allocations: 9.51 MB / 0.7634 GB, free: 218.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-05/1.324, allocations: 25.62 kB / 0.7634 GB, free: 218.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02693/1.35, allocations: 11.13 MB / 0.7743 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.767e-05/1.351, allocations: 46.06 kB / 0.7743 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-05/1.351, allocations: 89.94 kB / 0.7744 GB, free: 214.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/1.362, allocations: 2.116 MB / 0.7765 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01047/1.373, allocations: 2.318 MB / 0.7788 GB, free: 213.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/1.389, allocations: 12.13 MB / 0.7906 GB, free: 204.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006589/1.395, allocations: 288.5 kB / 0.7909 GB, free: 204.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.397, allocations: 0.5195 MB / 0.7914 GB, free: 204 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.003281/1.4, allocations: 1.209 MB / 0.7926 GB, free: 203.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/1.402, allocations: 0.8113 MB / 0.7934 GB, free: 203.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02162/1.424, allocations: 10.1 MB / 0.8032 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.68e-05/1.424, allocations: 76.88 kB / 0.8033 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.578e-05/1.424, allocations: 7.938 kB / 0.8033 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002001/1.424, allocations: 37.88 kB / 0.8033 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03453/1.458, allocations: 14.59 MB / 0.8176 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/1.458, allocations: 4 kB / 0.8176 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008324/1.467, allocations: 1.529 MB / 0.8191 GB, free: 185.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01085/1.478, allocations: 1.898 MB / 0.8209 GB, free: 183.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001669/1.479, allocations: 263.9 kB / 0.8212 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.494, allocations: 11.38 MB / 0.8323 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.494, allocations: 9.438 kB / 0.8323 GB, free: 171.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/1.521, allocations: 13.21 MB / 0.8452 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003712/1.524, allocations: 1.242 MB / 0.8464 GB, free: 157 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.526, allocations: 148 kB / 0.8466 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004338/1.53, allocations: 155.8 kB / 0.8467 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/1.532, allocations: 0.5988 MB / 0.8473 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001173/1.533, allocations: 319.9 kB / 0.8476 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003122/1.536, allocations: 1.86 MB / 0.8494 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.536, allocations: 0 / 0.8494 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01705/1.553, allocations: 5.102 MB / 0.8544 GB, free: 149.7 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.01581/1.569, allocations: 5.946 MB / 0.8602 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01747/1.587, allocations: 8.413 MB / 0.8684 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.587, allocations: 0 / 0.8684 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008141/1.595, allocations: 4.488 MB / 0.8728 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00721/1.602, allocations: 1.322 MB / 0.8741 GB, free: 131 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/1.624, allocations: 12.82 MB / 0.8866 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003685/1.627, allocations: 2.708 MB / 0.8893 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007677/1.635, allocations: 1.656 MB / 0.8909 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003207/1.638, allocations: 1.129 MB / 0.892 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/1.638, allocations: 0 / 0.892 GB, free: 112.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.3391/1.977, allocations: 164.3 MB / 1.052 GB, free: 190.1 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.10987517600006]