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.001344/0.001344, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001458/0.001458, allocations: 210 kB / 22.99 MB, free: 4.957 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 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.1627/0.1627, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.001991/0.001991, allocations: 71.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3102, allocations: 59.86 MB / 0.5198 GB, free: 9.801 MB / 382.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.08966/0.3999, allocations: 46.93 MB / 0.5656 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1292/0.529, allocations: 106.1 MB / 0.6692 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007903/0.5369, allocations: 95.25 kB / 0.6693 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008351/0.5453, allocations: 2.152 MB / 0.6714 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03237/0.5776, allocations: 10.18 MB / 0.6814 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04521/0.6229, allocations: 15.77 MB / 0.6968 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01862/0.6415, allocations: 10.54 MB / 0.707 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008247/0.6497, allocations: 4.698 MB / 0.7116 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009603/0.6593, allocations: 5.445 MB / 0.717 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01101/0.6703, allocations: 5.97 MB / 0.7228 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003873/0.6742, allocations: 0.8867 MB / 0.7237 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3716/1.046, allocations: 13.38 MB / 0.7367 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005194/1.051, allocations: 2.141 MB / 0.7388 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01386/1.065, allocations: 3.876 MB / 0.7426 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.06256/1.127, allocations: 24.86 MB / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.127, allocations: 0 / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.755e-06/1.127, allocations: 0 / 0.7669 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004931/1.128, allocations: 0 / 0.7669 GB, free: 35.74 MB / 0.5606 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.03159/1.16, allocations: 10.63 MB / 0.7772 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/1.16, allocations: 13.5 kB / 0.7773 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.171, allocations: 1.946 MB / 0.7792 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008836/1.18, allocations: 3.514 MB / 0.7826 GB, free: 30.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/1.18, allocations: 0.58 MB / 0.7832 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/1.183, allocations: 0.7368 MB / 0.7839 GB, free: 29.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/1.203, allocations: 9.221 MB / 0.7929 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001679/1.203, allocations: 6.781 kB / 0.7929 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.204, allocations: 288.8 kB / 0.7932 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.059e-05/1.204, allocations: 170.8 kB / 0.7933 GB, free: 29.37 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/1.226, allocations: 12.58 MB / 0.8056 GB, free: 29.1 MB / 0.5606 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.05564/1.281, allocations: 24.08 MB / 0.8291 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0325/1.314, allocations: 17.1 MB / 0.8458 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009244/1.323, allocations: 4.098 MB / 0.8498 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06149/1.384, allocations: 19.52 MB / 0.8689 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/1.385, allocations: 91.12 kB / 0.869 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003301/1.388, allocations: 0.6228 MB / 0.8696 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.526e-05/1.388, allocations: 0 / 0.8696 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1307/1.519, allocations: 35.26 MB / 0.904 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/1.519, allocations: 129.3 kB / 0.9041 GB, free: 2.352 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/1.524, allocations: 3.274 MB / 0.9073 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001699/1.526, allocations: 153.7 kB / 0.9075 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.528, allocations: 3.243 MB / 0.9106 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003853/1.532, allocations: 2.72 MB / 0.9133 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002947/1.535, allocations: 1.706 MB / 0.915 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.535, allocations: 301.1 kB / 0.9153 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005561/1.541, allocations: 2.865 MB / 0.9181 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008584/1.549, allocations: 5.747 MB / 0.9237 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/1.566, allocations: 9.512 MB / 0.933 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.513e-05/1.566, allocations: 24 kB / 0.933 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02979/1.596, allocations: 10.7 MB / 0.9434 GB, free: 8.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-05/1.596, allocations: 44.88 kB / 0.9435 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.596, allocations: 92 kB / 0.9436 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.607, allocations: 1.82 MB / 0.9453 GB, free: 6.719 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/1.618, allocations: 2.318 MB / 0.9476 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/1.637, allocations: 12.09 MB / 0.9594 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007493/1.645, allocations: 296 kB / 0.9597 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.646, allocations: 0.5155 MB / 0.9602 GB, free: 7.227 MB / 0.6856 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.003074/1.649, allocations: 1.201 MB / 0.9614 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.651, allocations: 0.5744 MB / 0.9619 GB, free: 5.578 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02515/1.676, allocations: 10.11 MB / 0.9718 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.641e-05/1.676, allocations: 80 kB / 0.9719 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.719e-05/1.676, allocations: 4 kB / 0.9719 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002387/1.676, allocations: 43.8 kB / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3191/1.996, allocations: 14.59 MB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.946e-05/1.996, allocations: 4.344 kB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009289/2.005, allocations: 1.528 MB / 0.9877 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009905/2.015, allocations: 1.597 MB / 0.9892 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002007/2.017, allocations: 263.6 kB / 0.9895 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/2.033, allocations: 11.35 MB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/2.033, allocations: 4.719 kB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03262/2.066, allocations: 12.95 MB / 1.013 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005112/2.071, allocations: 1.242 MB / 1.014 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001881/2.073, allocations: 146.9 kB / 1.015 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004661/2.077, allocations: 158.2 kB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001606/2.079, allocations: 0.5977 MB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008158/2.08, allocations: 319.2 kB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003215/2.083, allocations: 1.862 MB / 1.017 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/2.083, allocations: 0 / 1.017 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01802/2.101, allocations: 5.103 MB / 1.022 GB, free: 272.1 MB / 0.7012 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.01636/2.117, allocations: 5.708 MB / 1.028 GB, free: 271 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01705/2.134, allocations: 8.409 MB / 1.036 GB, free: 267.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.134, allocations: 6.594 kB / 1.036 GB, free: 267.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008714/2.143, allocations: 4.483 MB / 1.041 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008137/2.151, allocations: 1.167 MB / 1.042 GB, free: 264.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.174, allocations: 12.92 MB / 1.054 GB, free: 252.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/2.176, allocations: 2.705 MB / 1.057 GB, free: 250.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006973/2.183, allocations: 1.657 MB / 1.059 GB, free: 250 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/2.186, allocations: 1.132 MB / 1.06 GB, free: 249 MB / 0.7012 GB Notification: Performance of SimCode: time 1.522e-06/2.186, allocations: 0 / 1.06 GB, free: 249 MB / 0.7012 GB Notification: Performance of Templates: time 0.2032/2.389, allocations: 173 MB / 1.229 GB, free: 79.28 MB / 0.7012 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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 13.67928879900137] Failed to read output from testmodel.py, exit status != 0: 2.3991186410130467 2.408623646 1.278332429 Calling exit ...