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.001069/0.001069, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001197/0.001197, allocations: 173 kB / 23.49 MB, free: 1.055 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.08324/0.08324, allocations: 17.38 MB / 277.7 MB, free: 11.71 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.293e-06/1.293e-06, allocations: 0 / 353.5 MB, free: 10.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.599e-05, allocations: 2.312 kB / 353.5 MB, free: 10.26 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.04372/0.04374, allocations: 53.63 MB / 407.1 MB, free: 4.676 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2105/0.2542, allocations: 122 MB / 0.5167 GB, free: 10.39 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005479/0.2597, allocations: 99.19 kB / 0.5168 GB, free: 10.29 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00549/0.2652, allocations: 2.192 MB / 0.5189 GB, free: 8.094 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02485/0.2901, allocations: 10.53 MB / 0.5292 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03499/0.325, allocations: 16.24 MB / 0.5451 GB, free: 13.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01273/0.3378, allocations: 10.89 MB / 0.5557 GB, free: 2.473 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1798/0.5176, allocations: 4.801 MB / 0.5604 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/0.5303, allocations: 7.395 MB / 0.5676 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009001/0.5393, allocations: 4.903 MB / 0.5724 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002725/0.542, allocations: 0.886 MB / 0.5733 GB, free: 10.83 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0319/0.5739, allocations: 13.14 MB / 0.5861 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003982/0.5779, allocations: 2.167 MB / 0.5882 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007889/0.5858, allocations: 3.374 MB / 0.5915 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05494/0.6407, allocations: 23.31 MB / 0.6143 GB, free: 8.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.6407, allocations: 0.9375 kB / 0.6143 GB, free: 8.215 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6407, allocations: 0 / 0.6143 GB, free: 8.215 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006302/0.6414, allocations: 1.219 kB / 0.6143 GB, free: 8.215 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.01923/0.6606, allocations: 10.76 MB / 0.6248 GB, free: 3.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.6606, allocations: 13.53 kB / 0.6248 GB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008954/0.6696, allocations: 3.212 MB / 0.6279 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008177/0.6778, allocations: 3.565 MB / 0.6314 GB, free: 13.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006629/0.6784, allocations: 0.5764 MB / 0.632 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002804/0.6812, allocations: 0.7356 MB / 0.6327 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02991/0.7111, allocations: 7.326 MB / 0.6399 GB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/0.7113, allocations: 4.188 kB / 0.6399 GB, free: 5.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004098/0.7154, allocations: 292.7 kB / 0.6401 GB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.7155, allocations: 172 kB / 0.6403 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02706/0.7426, allocations: 8.423 MB / 0.6485 GB, free: 12.67 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.04641/0.789, allocations: 23.65 MB / 0.6716 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/0.8127, allocations: 20.47 MB / 0.6916 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005166/0.8178, allocations: 2.67 MB / 0.6942 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03132/0.8492, allocations: 18.55 MB / 0.7123 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.027e-05/0.8492, allocations: 100.8 kB / 0.7124 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001943/0.8512, allocations: 0.6269 MB / 0.713 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=581): time 1.728e-05/0.8512, allocations: 0 / 0.713 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.05439/0.9056, allocations: 26.4 MB / 0.7388 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.9057, allocations: 129.3 kB / 0.7389 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1887/1.094, allocations: 3.27 MB / 0.7421 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.096, allocations: 150.1 kB / 0.7423 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001866/1.098, allocations: 3.329 MB / 0.7455 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002783/1.1, allocations: 2.683 MB / 0.7482 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002821/1.103, allocations: 1.706 MB / 0.7498 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.771e-05/1.103, allocations: 482.5 kB / 0.7503 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/1.107, allocations: 1.728 MB / 0.752 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.112, allocations: 5.752 MB / 0.7576 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009337/1.121, allocations: 8.628 MB / 0.766 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-05/1.122, allocations: 25.44 kB / 0.766 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.015/1.137, allocations: 8.775 MB / 0.7746 GB, free: 117 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/1.137, allocations: 48.69 kB / 0.7747 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.259e-05/1.137, allocations: 88.62 kB / 0.7747 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005594/1.142, allocations: 1.876 MB / 0.7766 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007041/1.149, allocations: 2.329 MB / 0.7788 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.162, allocations: 13.27 MB / 0.7918 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006289/1.168, allocations: 293.3 kB / 0.7921 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001286/1.169, allocations: 0.5153 MB / 0.7926 GB, free: 106.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.002632/1.172, allocations: 0.7401 MB / 0.7933 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/1.174, allocations: 0.81 MB / 0.7941 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.191, allocations: 8.03 MB / 0.8019 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/1.191, allocations: 81.81 kB / 0.802 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.191, allocations: 6.125 kB / 0.802 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/1.191, allocations: 39.05 kB / 0.8021 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02159/1.212, allocations: 12.03 MB / 0.8138 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.212, allocations: 3.531 kB / 0.8138 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003792/1.216, allocations: 1.539 MB / 0.8153 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/1.221, allocations: 1.66 MB / 0.8169 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000667/1.222, allocations: 265.4 kB / 0.8172 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00752/1.229, allocations: 12.71 MB / 0.8296 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.229, allocations: 7.75 kB / 0.8296 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.243, allocations: 9.307 MB / 0.8387 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/1.245, allocations: 1.236 MB / 0.8399 GB, free: 81.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009252/1.246, allocations: 153.3 kB / 0.8401 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.248, allocations: 151.8 kB / 0.8402 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/1.249, allocations: 0.6102 MB / 0.8408 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004561/1.25, allocations: 319.4 kB / 0.8411 GB, free: 80.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001897/1.252, allocations: 1.633 MB / 0.8427 GB, free: 78.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-08/1.252, allocations: 0 / 0.8427 GB, free: 78.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01201/1.264, allocations: 5.103 MB / 0.8477 GB, free: 74.32 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.01078/1.274, allocations: 5.942 MB / 0.8535 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.285, allocations: 7.002 MB / 0.8603 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.285, allocations: 0 / 0.8603 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004357/1.289, allocations: 3.948 MB / 0.8642 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/1.293, allocations: 1.325 MB / 0.8655 GB, free: 57.32 MB / 0.5261 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/1.307, allocations: 11.56 MB / 0.8768 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/1.308, allocations: 1.081 MB / 0.8778 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004864/1.312, allocations: 1.647 MB / 0.8794 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/1.314, allocations: 1.137 MB / 0.8805 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of SimCode: time 2.735e-06/1.314, allocations: 0 / 0.8805 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of Templates: time 0.3343/1.649, allocations: 165.7 MB / 1.042 GB, free: 41.31 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: 8.79469134612009]