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.001111/0.001111, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001209/0.001209, allocations: 173 kB / 23.36 MB, free: 1.133 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.08314/0.08314, allocations: 17.38 MB / 277.6 MB, free: 11.52 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.362e-06/1.362e-06, allocations: 0 / 300.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.87e-05, allocations: 2.969 kB / 300.7 MB, free: 1.789 MB / 266.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.06708/0.06711, allocations: 59.04 MB / 359.7 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2496/0.3167, allocations: 120.4 MB / 480.2 MB, free: 28.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004607/0.3213, allocations: 97.81 kB / 480.3 MB, free: 28.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.3269, allocations: 2.263 MB / 482.5 MB, free: 28.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02317/0.3501, allocations: 10.37 MB / 492.9 MB, free: 26.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03377/0.3839, allocations: 16.15 MB / 0.4971 GB, free: 21.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01104/0.3949, allocations: 10.87 MB / 0.5077 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006254/0.4012, allocations: 4.848 MB / 0.5125 GB, free: 13.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009725/0.4109, allocations: 7.34 MB / 0.5196 GB, free: 9.922 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006856/0.4177, allocations: 4.84 MB / 0.5244 GB, free: 7.863 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002231/0.42, allocations: 0.892 MB / 0.5252 GB, free: 7.746 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03044/0.4504, allocations: 13.66 MB / 0.5386 GB, free: 10.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.4534, allocations: 2.164 MB / 0.5407 GB, free: 8.734 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00598/0.4593, allocations: 3.372 MB / 0.544 GB, free: 5.547 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05154/0.5109, allocations: 23.32 MB / 0.5667 GB, free: 44 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5109, allocations: 0 / 0.5667 GB, free: 44 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.5109, allocations: 0 / 0.5667 GB, free: 44 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002944/0.5112, allocations: 0 / 0.5667 GB, free: 44 kB / 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.01567/0.5268, allocations: 10.59 MB / 0.5771 GB, free: 5.863 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5269, allocations: 12.03 kB / 0.5771 GB, free: 5.852 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007505/0.5344, allocations: 3.089 MB / 0.5801 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0054/0.5398, allocations: 2.672 MB / 0.5827 GB, free: 156 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003644/0.5401, allocations: 0.5764 MB / 0.5833 GB, free: 15.56 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.5413, allocations: 0.7418 MB / 0.584 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008252/0.5495, allocations: 6.657 MB / 0.5905 GB, free: 8.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.579e-05/0.5496, allocations: 4.188 kB / 0.5905 GB, free: 8.316 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004774/0.5501, allocations: 288.4 kB / 0.5908 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.612e-05/0.5502, allocations: 178.6 kB / 0.591 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00834/0.5586, allocations: 6.328 MB / 0.5971 GB, free: 1.516 MB / 474.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.3197/0.8782, allocations: 18.29 MB / 0.615 GB, free: 81.38 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02454/0.9028, allocations: 19.05 MB / 0.6336 GB, free: 80.32 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.9062, allocations: 1.957 MB / 0.6355 GB, free: 80.26 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02692/0.9332, allocations: 16.83 MB / 0.652 GB, free: 79.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.86e-05/0.9332, allocations: 96.75 kB / 0.652 GB, free: 79.59 MB / 490.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00148/0.9347, allocations: 0.6189 MB / 0.6527 GB, free: 79.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=581): time 2.324e-05/0.9347, allocations: 0 / 0.6527 GB, free: 79.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=757): time 0.04498/0.9797, allocations: 23.99 MB / 0.6761 GB, free: 71.77 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.9798, allocations: 129.3 kB / 0.6762 GB, free: 71.63 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.9819, allocations: 2.995 MB / 0.6791 GB, free: 69.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006144/0.9825, allocations: 146.4 kB / 0.6793 GB, free: 69.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009991/0.9835, allocations: 2.773 MB / 0.682 GB, free: 68.16 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001851/0.9854, allocations: 2.714 MB / 0.6846 GB, free: 66.41 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.9868, allocations: 1.693 MB / 0.6863 GB, free: 65.57 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.9868, allocations: 318.2 kB / 0.6866 GB, free: 65.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.9881, allocations: 1.133 MB / 0.6877 GB, free: 64.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.9903, allocations: 4.063 MB / 0.6917 GB, free: 59.55 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.9951, allocations: 6.62 MB / 0.6981 GB, free: 53.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-05/0.9951, allocations: 28 kB / 0.6981 GB, free: 53.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.008978/1.004, allocations: 6.16 MB / 0.7042 GB, free: 49.11 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/1.004, allocations: 44 kB / 0.7042 GB, free: 49.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/1.004, allocations: 98.09 kB / 0.7043 GB, free: 48.97 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004852/1.009, allocations: 1.861 MB / 0.7061 GB, free: 47.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00597/1.015, allocations: 2.502 MB / 0.7086 GB, free: 45.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007041/1.022, allocations: 9.299 MB / 0.7176 GB, free: 36.03 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005042/1.027, allocations: 285.3 kB / 0.7179 GB, free: 35.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.028, allocations: 442.6 kB / 0.7183 GB, free: 35.55 MB / 490.8 MB 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.002448/1.031, allocations: 0.7024 MB / 0.719 GB, free: 35.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001086/1.032, allocations: 0.5585 MB / 0.7196 GB, free: 34.84 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009168/1.041, allocations: 6.063 MB / 0.7255 GB, free: 29.52 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/1.041, allocations: 80 kB / 0.7256 GB, free: 29.44 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.041, allocations: 11.66 kB / 0.7256 GB, free: 29.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-05/1.041, allocations: 39.84 kB / 0.7256 GB, free: 29.39 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01266/1.054, allocations: 8.322 MB / 0.7337 GB, free: 21.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.054, allocations: 4 kB / 0.7337 GB, free: 21.61 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003986/1.058, allocations: 1.644 MB / 0.7353 GB, free: 20.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004603/1.062, allocations: 1.654 MB / 0.737 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009857/1.063, allocations: 247.9 kB / 0.7372 GB, free: 18.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006211/1.07, allocations: 8.879 MB / 0.7459 GB, free: 8.969 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/1.07, allocations: 10.44 kB / 0.7459 GB, free: 8.965 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.08, allocations: 6.833 MB / 0.7526 GB, free: 2.129 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.083, allocations: 0.7999 MB / 0.7533 GB, free: 1.336 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/1.084, allocations: 148 kB / 0.7535 GB, free: 1.191 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/1.086, allocations: 152 kB / 0.7536 GB, free: 1.043 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008607/1.087, allocations: 0.6025 MB / 0.7542 GB, free: 452 kB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/1.087, allocations: 243.9 kB / 0.7544 GB, free: 208 kB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001464/1.089, allocations: 1.376 MB / 0.7558 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.31e-07/1.089, allocations: 0 / 0.7558 GB, free: 14.99 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01397/1.103, allocations: 5.101 MB / 0.7608 GB, free: 10.56 MB / 0.4949 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.01335/1.116, allocations: 6.296 MB / 0.7669 GB, free: 5.133 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01027/1.126, allocations: 5.555 MB / 0.7723 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001495/1.126, allocations: 71.94 kB / 0.7724 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004793/1.131, allocations: 3.116 MB / 0.7755 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003867/1.135, allocations: 1.308 MB / 0.7767 GB, free: 11.69 MB / 0.5105 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.15, allocations: 11.16 MB / 0.7876 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.152, allocations: 1.079 MB / 0.7887 GB, free: 15.45 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.005428/1.157, allocations: 1.639 MB / 0.7903 GB, free: 13.91 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003835/1.161, allocations: 1.978 MB / 0.7922 GB, free: 11.92 MB / 0.5262 GB Notification: Performance of SimCode: time 2.174e-06/1.161, allocations: 0 / 0.7922 GB, free: 11.92 MB / 0.5262 GB Notification: Performance of Templates: time 0.3933/1.554, allocations: 190.9 MB / 0.9786 GB, free: 6.531 MB / 0.5418 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.319877455942333]