Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 225.6 MB / 249.9 MB, free: 13.6 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08988/0.08988, allocations: 15.53 MB / 320.6 MB, free: 9.594 MB / 254.1 MB [Timeout remaining time 90] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 67.89 kB / 448.7 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.109, allocations: 56.55 MB / 0.4934 GB, free: 2.492 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.Dev.RedCellMembrane): time 0.267/0.376, allocations: 50.69 MB / 0.5429 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1512/0.5272, allocations: 121.1 MB / 0.6611 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004671/0.5319, allocations: 79.56 kB / 0.6612 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007106/0.539, allocations: 2.405 MB / 0.6636 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02961/0.5686, allocations: 10.18 MB / 0.6735 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.04204/0.6106, allocations: 15.61 MB / 0.6888 GB, free: 440 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01767/0.6283, allocations: 10.54 MB / 0.699 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009582/0.6379, allocations: 4.687 MB / 0.7036 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01245/0.6503, allocations: 5.367 MB / 0.7089 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01603/0.6664, allocations: 5.966 MB / 0.7147 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00454/0.6709, allocations: 0.8867 MB / 0.7156 GB, free: 4.836 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.301/0.9719, allocations: 13.9 MB / 0.7291 GB, free: 30.67 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003855/0.9757, allocations: 2.136 MB / 0.7312 GB, free: 30.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01205/0.9878, allocations: 4.544 MB / 0.7357 GB, free: 30.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0593/1.047, allocations: 24.36 MB / 0.7594 GB, free: 28.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.047, allocations: 0 / 0.7594 GB, free: 28.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/1.047, allocations: 3.812 kB / 0.7594 GB, free: 28.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004279/1.048, allocations: 0 / 0.7594 GB, free: 28.7 MB / 0.545 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.02952/1.077, allocations: 10.72 MB / 0.7699 GB, free: 24.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.077, allocations: 11.91 kB / 0.7699 GB, free: 24.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/1.089, allocations: 1.948 MB / 0.7718 GB, free: 23.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009656/1.099, allocations: 3.573 MB / 0.7753 GB, free: 22.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007385/1.099, allocations: 0.5485 MB / 0.7759 GB, free: 22.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/1.103, allocations: 0.7411 MB / 0.7766 GB, free: 22.76 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/1.128, allocations: 9.213 MB / 0.7856 GB, free: 22.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003488/1.129, allocations: 3.844 kB / 0.7856 GB, free: 22.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.131, allocations: 286.5 kB / 0.7859 GB, free: 22.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/1.131, allocations: 174.5 kB / 0.786 GB, free: 22.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02524/1.157, allocations: 12.7 MB / 0.7984 GB, free: 19.88 MB / 0.545 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.05976/1.216, allocations: 30.22 MB / 0.8279 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03875/1.255, allocations: 19.84 MB / 0.8473 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009258/1.264, allocations: 4.091 MB / 0.8513 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06234/1.327, allocations: 36.55 MB / 0.887 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/1.327, allocations: 95.12 kB / 0.8871 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002903/1.33, allocations: 0.649 MB / 0.8877 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=581): time 1.494e-05/1.33, allocations: 6.609 kB / 0.8877 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=757): time 0.1271/1.457, allocations: 35.6 MB / 0.9225 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.457, allocations: 132 kB / 0.9226 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005442/1.462, allocations: 3.38 MB / 0.9259 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009414/1.463, allocations: 149.7 kB / 0.9261 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.466, allocations: 3.254 MB / 0.9292 GB, free: 14.71 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.003069/1.469, allocations: 2.711 MB / 0.9319 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00353/1.472, allocations: 1.705 MB / 0.9336 GB, free: 10.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.472, allocations: 305.1 kB / 0.9339 GB, free: 10.02 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006227/1.479, allocations: 2.857 MB / 0.9366 GB, free: 7.16 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008586/1.487, allocations: 5.739 MB / 0.9422 GB, free: 272 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/1.506, allocations: 9.493 MB / 0.9515 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/1.506, allocations: 24 kB / 0.9515 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.3138/1.819, allocations: 10.7 MB / 0.962 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/1.82, allocations: 47.22 kB / 0.962 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.131e-05/1.82, allocations: 90.44 kB / 0.9621 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00946/1.829, allocations: 1.81 MB / 0.9639 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/1.84, allocations: 2.317 MB / 0.9661 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/1.857, allocations: 12.81 MB / 0.9787 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007064/1.864, allocations: 293.6 kB / 0.9789 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/1.866, allocations: 0.5168 MB / 0.9794 GB, free: 184.3 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.003724/1.87, allocations: 1.205 MB / 0.9806 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.872, allocations: 0.6003 MB / 0.9812 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0244/1.896, allocations: 10.1 MB / 0.9911 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/1.896, allocations: 77.59 kB / 0.9911 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/1.896, allocations: 7.812 kB / 0.9912 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001734/1.896, allocations: 43.52 kB / 0.9912 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03438/1.931, allocations: 16.29 MB / 1.007 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/1.931, allocations: 3.219 kB / 1.007 GB, free: 182 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007758/1.938, allocations: 1.528 MB / 1.009 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008188/1.947, allocations: 1.609 MB / 1.01 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001553/1.948, allocations: 263.7 kB / 1.01 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.962, allocations: 12.07 MB / 1.022 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.962, allocations: 11.3 kB / 1.022 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02609/1.988, allocations: 12.95 MB / 1.035 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003931/1.992, allocations: 1.333 MB / 1.036 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00146/1.994, allocations: 146.3 kB / 1.036 GB, free: 165.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003964/1.998, allocations: 160.2 kB / 1.036 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009757/1.999, allocations: 0.5685 MB / 1.037 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005832/1.999, allocations: 318.2 kB / 1.037 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002755/2.002, allocations: 2.043 MB / 1.039 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/2.002, allocations: 0 / 1.039 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01593/2.018, allocations: 5.11 MB / 1.044 GB, free: 163.8 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.01358/2.031, allocations: 5.614 MB / 1.05 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.017/2.048, allocations: 8.399 MB / 1.058 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.048, allocations: 0 / 1.058 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00873/2.057, allocations: 4.484 MB / 1.062 GB, free: 148.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006581/2.064, allocations: 1.188 MB / 1.064 GB, free: 147.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/2.086, allocations: 13.02 MB / 1.076 GB, free: 134.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/2.088, allocations: 3.175 MB / 1.079 GB, free: 131.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003763/2.092, allocations: 1.455 MB / 1.081 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/2.092, allocations: 0 / 1.081 GB, free: 129.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.4933/2.585, allocations: 284.2 MB / 1.358 GB, free: 148.3 MB / 0.6856 GB [Timeout remaining time 657] make -j1 -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480]