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.001238/0.001238, allocations: 83.58 kB / 19.76 MB, free: 2.016 MB / 14.72 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.001292/0.001292, allocations: 154 kB / 23.01 MB, free: 4.973 MB / 14.72 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.326/1.326, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 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.123/0.123, allocations: 17.36 MB / 277.1 MB, free: 15.25 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 63.91 kB / 412.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1051, allocations: 59.86 MB / 472.3 MB, free: 9.695 MB / 446.1 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.2758/0.3809, allocations: 47.05 MB / 0.5072 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1152/0.4961, allocations: 106.1 MB / 0.6108 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004607/0.5007, allocations: 99.25 kB / 0.6109 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006822/0.5075, allocations: 2.152 MB / 0.613 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.03118/0.5387, allocations: 10.19 MB / 0.623 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04248/0.5812, allocations: 15.77 MB / 0.6384 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01729/0.5984, allocations: 10.54 MB / 0.6486 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007524/0.606, allocations: 4.597 MB / 0.6531 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009629/0.6156, allocations: 5.441 MB / 0.6584 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.6263, allocations: 5.36 MB / 0.6637 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003193/0.6295, allocations: 0.8867 MB / 0.6646 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03866/0.6682, allocations: 13.04 MB / 0.6773 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.6719, allocations: 2.13 MB / 0.6794 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00671/0.6786, allocations: 3.883 MB / 0.6832 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2944/0.973, allocations: 24.86 MB / 0.7074 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.973, allocations: 0 / 0.7074 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.422e-06/0.973, allocations: 0 / 0.7074 GB, free: 55.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002749/0.9733, allocations: 1.969 kB / 0.7074 GB, free: 55.98 MB / 0.5762 GB 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.02075/0.9941, allocations: 10.62 MB / 0.7178 GB, free: 51.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.9941, allocations: 9.875 kB / 0.7178 GB, free: 51.58 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009032/1.003, allocations: 1.946 MB / 0.7197 GB, free: 51.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/1.01, allocations: 3.528 MB / 0.7232 GB, free: 50.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/1.01, allocations: 0.5777 MB / 0.7237 GB, free: 50.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/1.012, allocations: 0.7367 MB / 0.7244 GB, free: 50.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01991/1.032, allocations: 9.216 MB / 0.7334 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/1.032, allocations: 6.125 kB / 0.7334 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/1.033, allocations: 287.7 kB / 0.7337 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/1.033, allocations: 179.8 kB / 0.7339 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.056, allocations: 12.58 MB / 0.7462 GB, free: 49.6 MB / 0.5762 GB 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.04613/1.103, allocations: 24.08 MB / 0.7697 GB, free: 41.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02674/1.129, allocations: 17.11 MB / 0.7864 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00661/1.136, allocations: 4.093 MB / 0.7904 GB, free: 34.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04414/1.18, allocations: 19.54 MB / 0.8095 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.18, allocations: 93.81 kB / 0.8096 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002441/1.183, allocations: 0.6215 MB / 0.8102 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=581): time 1.97e-05/1.183, allocations: 0 / 0.8102 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=757): time 0.1209/1.303, allocations: 35.24 MB / 0.8446 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.304, allocations: 130.4 kB / 0.8447 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005108/1.309, allocations: 3.282 MB / 0.8479 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.31, allocations: 151.8 kB / 0.8481 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.312, allocations: 3.25 MB / 0.8512 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003467/1.316, allocations: 2.711 MB / 0.8539 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004121/1.32, allocations: 1.699 MB / 0.8556 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.32, allocations: 307.5 kB / 0.8558 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005689/1.326, allocations: 2.87 MB / 0.8586 GB, free: 100 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007952/1.334, allocations: 5.742 MB / 0.8643 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/1.349, allocations: 9.512 MB / 0.8735 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.619e-05/1.349, allocations: 28 kB / 0.8736 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02481/1.374, allocations: 10.69 MB / 0.884 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.531e-05/1.374, allocations: 44 kB / 0.8841 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/1.374, allocations: 88 kB / 0.8841 GB, free: 4.535 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009/1.383, allocations: 1.818 MB / 0.8859 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/1.394, allocations: 2.318 MB / 0.8882 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/1.414, allocations: 12.09 MB / 0.9 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/1.421, allocations: 301.3 kB / 0.9003 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/1.422, allocations: 0.5116 MB / 0.9008 GB, free: 3.281 MB / 0.6544 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.003266/1.426, allocations: 1.198 MB / 0.9019 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.427, allocations: 0.5783 MB / 0.9025 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02356/1.451, allocations: 10.11 MB / 0.9124 GB, free: 7.695 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.154e-05/1.451, allocations: 76 kB / 0.9125 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/1.451, allocations: 4 kB / 0.9125 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.451, allocations: 39.84 kB / 0.9125 GB, free: 7.578 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03338/1.484, allocations: 14.6 MB / 0.9267 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/1.484, allocations: 4 kB / 0.9268 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00736/1.492, allocations: 1.534 MB / 0.9283 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008164/1.5, allocations: 1.602 MB / 0.9298 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009529/1.501, allocations: 265.3 kB / 0.9301 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2378/1.739, allocations: 11.35 MB / 0.9412 GB, free: 261.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/1.739, allocations: 12.72 kB / 0.9412 GB, free: 261.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/1.762, allocations: 12.94 MB / 0.9538 GB, free: 258.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003112/1.765, allocations: 1.242 MB / 0.955 GB, free: 257.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008499/1.766, allocations: 147.9 kB / 0.9552 GB, free: 257.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/1.769, allocations: 150.1 kB / 0.9553 GB, free: 257.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008828/1.769, allocations: 0.611 MB / 0.9559 GB, free: 257.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005687/1.77, allocations: 310.2 kB / 0.9562 GB, free: 257.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002145/1.772, allocations: 1.868 MB / 0.958 GB, free: 256.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/1.772, allocations: 0 / 0.958 GB, free: 256.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01428/1.786, allocations: 5.098 MB / 0.963 GB, free: 256.4 MB / 0.6856 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.01253/1.799, allocations: 5.703 MB / 0.9686 GB, free: 255.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01733/1.816, allocations: 8.417 MB / 0.9768 GB, free: 252 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.816, allocations: 3.969 kB / 0.9768 GB, free: 252 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.008838/1.825, allocations: 4.486 MB / 0.9812 GB, free: 250 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006631/1.832, allocations: 1.18 MB / 0.9823 GB, free: 249.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/1.851, allocations: 12.9 MB / 0.9949 GB, free: 243.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002807/1.854, allocations: 2.707 MB / 0.9976 GB, free: 242.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.006718/1.861, allocations: 1.658 MB / 0.9992 GB, free: 242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.863, allocations: 1.14 MB / 1 GB, free: 241.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/1.863, allocations: 0 / 1 GB, free: 241.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.1942/2.057, allocations: 163.6 MB / 1.16 GB, free: 83.99 MB / 0.6856 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.17828449292574] Failed to read output from testmodel.py, exit status != 0: 2.067185909021646 2.075050897 1.099646029 Calling exit ...