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.001339/0.001339, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009358/0.0009358, allocations: 181 kB / 23.36 MB, free: 1.125 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 0.9506/0.9506, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.1068/0.1068, allocations: 17.39 MB / 277.7 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.473e-06/1.473e-06, allocations: 0 / 300.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.167e-05, allocations: 8.375 kB / 300.7 MB, free: 1.809 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.0643/0.06431, allocations: 59 MB / 359.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.238/0.3023, allocations: 120.4 MB / 480.1 MB, free: 28.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00439/0.3067, allocations: 98.53 kB / 480.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005041/0.3118, allocations: 2.218 MB / 482.4 MB, free: 28.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02214/0.3339, allocations: 10.65 MB / 493 MB, free: 25.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03114/0.365, allocations: 16.41 MB / 0.4975 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.3763, allocations: 10.87 MB / 0.5081 GB, free: 16.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005453/0.3817, allocations: 4.883 MB / 0.5129 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008658/0.3904, allocations: 7.394 MB / 0.5201 GB, free: 9.727 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006984/0.3974, allocations: 4.846 MB / 0.5249 GB, free: 7.668 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002804/0.4002, allocations: 0.886 MB / 0.5257 GB, free: 7.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03131/0.4315, allocations: 13.14 MB / 0.5386 GB, free: 10.55 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.4347, allocations: 2.16 MB / 0.5407 GB, free: 8.562 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006214/0.4409, allocations: 3.376 MB / 0.544 GB, free: 5.371 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04987/0.4908, allocations: 23.32 MB / 0.5667 GB, free: 15.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4908, allocations: 2.656 kB / 0.5667 GB, free: 15.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4908, allocations: 0 / 0.5667 GB, free: 15.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002028/0.491, allocations: 0 / 0.5667 GB, free: 15.87 MB / 458.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.01336/0.5044, allocations: 10.59 MB / 0.5771 GB, free: 5.691 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5044, allocations: 8.031 kB / 0.5771 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0062/0.5106, allocations: 3.087 MB / 0.5801 GB, free: 2.641 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.5152, allocations: 2.671 MB / 0.5827 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.5155, allocations: 0.5772 MB / 0.5833 GB, free: 15.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.5167, allocations: 0.7455 MB / 0.584 GB, free: 14.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/0.5245, allocations: 6.655 MB / 0.5905 GB, free: 8.152 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.502e-05/0.5246, allocations: 8.062 kB / 0.5905 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004916/0.5251, allocations: 288.4 kB / 0.5908 GB, free: 7.863 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.539e-05/0.5252, allocations: 178.7 kB / 0.591 GB, free: 7.691 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008148/0.5333, allocations: 6.323 MB / 0.5971 GB, free: 1.348 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.3192/0.8524, allocations: 18.29 MB / 0.615 GB, free: 80.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/0.8745, allocations: 19.04 MB / 0.6336 GB, free: 79.75 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/0.8778, allocations: 1.959 MB / 0.6355 GB, free: 79.69 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02655/0.9043, allocations: 16.83 MB / 0.6519 GB, free: 79.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.9044, allocations: 93.66 kB / 0.652 GB, free: 79.02 MB / 490.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001459/0.9058, allocations: 0.6148 MB / 0.6526 GB, free: 79.02 MB / 490.8 MB Notification: Performance of pre-optimization done (n=581): time 1.262e-05/0.9059, allocations: 0 / 0.6526 GB, free: 79.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=757): time 0.04127/0.9471, allocations: 23.98 MB / 0.676 GB, free: 70.98 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.9472, allocations: 132.4 kB / 0.6762 GB, free: 70.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.949, allocations: 2.994 MB / 0.6791 GB, free: 69.13 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005471/0.9496, allocations: 151.8 kB / 0.6792 GB, free: 69.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00098/0.9506, allocations: 2.773 MB / 0.682 GB, free: 67.38 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.9521, allocations: 2.712 MB / 0.6846 GB, free: 65.62 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/0.9534, allocations: 1.702 MB / 0.6863 GB, free: 64.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.9535, allocations: 307.6 kB / 0.6866 GB, free: 64.48 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.9547, allocations: 1.134 MB / 0.6877 GB, free: 63.5 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.9566, allocations: 4.072 MB / 0.6916 GB, free: 58.76 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004327/0.9609, allocations: 6.624 MB / 0.6981 GB, free: 52.48 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.715e-05/0.961, allocations: 26.75 kB / 0.6981 GB, free: 52.45 MB / 490.8 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.007682/0.9687, allocations: 6.166 MB / 0.7042 GB, free: 48.31 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.9687, allocations: 44 kB / 0.7042 GB, free: 48.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/0.9688, allocations: 88 kB / 0.7043 GB, free: 48.18 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.9732, allocations: 1.858 MB / 0.7061 GB, free: 46.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005013/0.9782, allocations: 2.223 MB / 0.7083 GB, free: 44.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.9846, allocations: 9.264 MB / 0.7173 GB, free: 35.54 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/0.9887, allocations: 288.7 kB / 0.7176 GB, free: 35.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/0.9893, allocations: 438.2 kB / 0.718 GB, free: 35.05 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.001644/0.9909, allocations: 0.6989 MB / 0.7187 GB, free: 34.81 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/0.9918, allocations: 0.5563 MB / 0.7192 GB, free: 34.35 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/1, allocations: 6.07 MB / 0.7252 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1, allocations: 76 kB / 0.7252 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1, allocations: 8 kB / 0.7252 GB, free: 29.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.455e-05/1, allocations: 39.84 kB / 0.7253 GB, free: 29.21 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.013, allocations: 8.329 MB / 0.7334 GB, free: 21.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.013, allocations: 4 kB / 0.7334 GB, free: 21.43 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003506/1.016, allocations: 1.44 MB / 0.7348 GB, free: 20.06 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004296/1.02, allocations: 1.658 MB / 0.7364 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007169/1.021, allocations: 251.6 kB / 0.7367 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005678/1.027, allocations: 8.854 MB / 0.7453 GB, free: 9.012 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.027, allocations: 5.828 kB / 0.7453 GB, free: 9.008 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008453/1.035, allocations: 6.837 MB / 0.752 GB, free: 2.168 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.037, allocations: 0.7948 MB / 0.7528 GB, free: 1.379 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007178/1.038, allocations: 148 kB / 0.7529 GB, free: 1.234 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.04, allocations: 161.2 kB / 0.7531 GB, free: 1.082 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/1.04, allocations: 0.59 MB / 0.7537 GB, free: 0.4922 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003564/1.041, allocations: 251.9 kB / 0.7539 GB, free: 252 kB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001174/1.042, allocations: 1.374 MB / 0.7552 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/1.042, allocations: 0 / 0.7552 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0109/1.053, allocations: 5.1 MB / 0.7602 GB, free: 10.61 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.01103/1.064, allocations: 6.299 MB / 0.7664 GB, free: 5.18 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009635/1.073, allocations: 5.567 MB / 0.7718 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001575/1.074, allocations: 71.94 kB / 0.7719 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004279/1.078, allocations: 3.109 MB / 0.7749 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004691/1.082, allocations: 1.302 MB / 0.7762 GB, free: 11.74 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.01738/1.1, allocations: 11.16 MB / 0.7871 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.101, allocations: 1.08 MB / 0.7881 GB, free: 15.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.004696/1.106, allocations: 1.637 MB / 0.7897 GB, free: 13.96 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003414/1.109, allocations: 1.986 MB / 0.7917 GB, free: 11.96 MB / 0.5262 GB Notification: Performance of SimCode: time 2.054e-06/1.109, allocations: 4 kB / 0.7917 GB, free: 11.95 MB / 0.5262 GB Notification: Performance of Templates: time 0.3444/1.453, allocations: 190.8 MB / 0.978 GB, free: 6.152 MB / 0.5418 GB " [Timeout remaining time 659] 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: 9.204488499090075]