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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 110.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08871/0.08871, allocations: 15.54 MB / 320 MB, free: 13.13 MB / 254.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 70.23 kB / 448.3 MB, free: 46.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08704, allocations: 56.55 MB / 0.493 GB, free: 19.01 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.05657/0.1436, allocations: 50.89 MB / 0.5427 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4024/0.546, allocations: 121.3 MB / 0.6612 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005192/0.5512, allocations: 72.31 kB / 0.6612 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006773/0.558, allocations: 2.406 MB / 0.6636 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02761/0.5856, allocations: 10.18 MB / 0.6735 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04232/0.6279, allocations: 15.61 MB / 0.6888 GB, free: 1.109 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.6446, allocations: 10.54 MB / 0.6991 GB, free: 7.395 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008156/0.6528, allocations: 4.672 MB / 0.7036 GB, free: 2.805 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009357/0.6621, allocations: 5.354 MB / 0.7089 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01041/0.6725, allocations: 5.972 MB / 0.7147 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003634/0.6762, allocations: 0.8828 MB / 0.7156 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04786/0.724, allocations: 13.91 MB / 0.7291 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003583/0.7276, allocations: 2.133 MB / 0.7312 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008111/0.7357, allocations: 4.541 MB / 0.7357 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0614/0.7971, allocations: 24.36 MB / 0.7594 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7971, allocations: 0 / 0.7594 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7971, allocations: 0 / 0.7594 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0003042/0.7974, allocations: 0 / 0.7594 GB, free: 11.73 MB / 0.5294 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.02567/0.8231, allocations: 10.74 MB / 0.7699 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.8232, allocations: 12.03 kB / 0.7699 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.8338, allocations: 1.949 MB / 0.7719 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008757/0.8426, allocations: 3.571 MB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008579/0.8434, allocations: 0.5513 MB / 0.7759 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003111/0.8465, allocations: 0.7412 MB / 0.7766 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/0.8725, allocations: 9.204 MB / 0.7856 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002831/0.8728, allocations: 7.938 kB / 0.7856 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001935/0.8747, allocations: 292 kB / 0.7859 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.8749, allocations: 172 kB / 0.786 GB, free: 392 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02585/0.9007, allocations: 12.7 MB / 0.7984 GB, free: 3.672 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.06167/0.9624, allocations: 30.22 MB / 0.828 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5084/1.471, allocations: 19.84 MB / 0.8473 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008441/1.479, allocations: 4.097 MB / 0.8513 GB, free: 201 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05283/1.532, allocations: 36.55 MB / 0.887 GB, free: 174.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.532, allocations: 91.38 kB / 0.8871 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002491/1.535, allocations: 0.6639 MB / 0.8877 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.539e-05/1.535, allocations: 0 / 0.8877 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1074/1.642, allocations: 35.59 MB / 0.9225 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/1.642, allocations: 129.3 kB / 0.9226 GB, free: 145.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/1.646, allocations: 3.38 MB / 0.9259 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/1.647, allocations: 152.7 kB / 0.9261 GB, free: 142.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001975/1.649, allocations: 3.247 MB / 0.9292 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003012/1.652, allocations: 2.717 MB / 0.9319 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002259/1.655, allocations: 1.702 MB / 0.9336 GB, free: 135.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/1.655, allocations: 301.1 kB / 0.9339 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004372/1.659, allocations: 2.861 MB / 0.9366 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005753/1.665, allocations: 5.734 MB / 0.9422 GB, free: 125.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01175/1.676, allocations: 9.494 MB / 0.9515 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-05/1.677, allocations: 24 kB / 0.9515 GB, free: 114.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02211/1.699, allocations: 10.71 MB / 0.962 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/1.699, allocations: 44 kB / 0.962 GB, free: 103.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.773e-05/1.699, allocations: 88 kB / 0.9621 GB, free: 103.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008585/1.707, allocations: 1.822 MB / 0.9639 GB, free: 102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/1.718, allocations: 2.315 MB / 0.9662 GB, free: 99.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/1.734, allocations: 12.81 MB / 0.9787 GB, free: 86.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007016/1.741, allocations: 298.1 kB / 0.979 GB, free: 85.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/1.742, allocations: 0.5194 MB / 0.9795 GB, free: 85.34 MB / 0.5919 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.003376/1.746, allocations: 1.201 MB / 0.9806 GB, free: 84.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/1.748, allocations: 0.6078 MB / 0.9812 GB, free: 83.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/1.77, allocations: 10.09 MB / 0.9911 GB, free: 73.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.231e-05/1.77, allocations: 79.94 kB / 0.9912 GB, free: 73.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.64e-05/1.77, allocations: 4 kB / 0.9912 GB, free: 73.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00022/1.771, allocations: 39.84 kB / 0.9912 GB, free: 73.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03378/1.804, allocations: 16.3 MB / 1.007 GB, free: 57.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.347e-05/1.804, allocations: 4 kB / 1.007 GB, free: 57.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007727/1.812, allocations: 1.525 MB / 1.009 GB, free: 55.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008446/1.821, allocations: 1.604 MB / 1.01 GB, free: 54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001615/1.822, allocations: 270.3 kB / 1.01 GB, free: 53.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.836, allocations: 12.08 MB / 1.022 GB, free: 40.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.836, allocations: 8.062 kB / 1.022 GB, free: 40.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0255/1.861, allocations: 12.95 MB / 1.035 GB, free: 27.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004168/1.866, allocations: 1.33 MB / 1.036 GB, free: 26.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001359/1.867, allocations: 154.7 kB / 1.036 GB, free: 26.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/1.871, allocations: 152 kB / 1.036 GB, free: 26.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.872, allocations: 0.5757 MB / 1.037 GB, free: 25.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005823/1.873, allocations: 315.9 kB / 1.037 GB, free: 25.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002622/1.875, allocations: 2.039 MB / 1.039 GB, free: 23.29 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.875, allocations: 0 / 1.039 GB, free: 23.29 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01464/1.89, allocations: 5.106 MB / 1.044 GB, free: 18.36 MB / 0.5919 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.01215/1.902, allocations: 5.618 MB / 1.05 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0155/1.918, allocations: 8.397 MB / 1.058 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.918, allocations: 4 kB / 1.058 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.008093/1.926, allocations: 4.477 MB / 1.062 GB, free: 416 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.308/2.234, allocations: 1.186 MB / 1.064 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/2.264, allocations: 12.9 MB / 1.076 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005717/2.269, allocations: 3.178 MB / 1.079 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01087/2.28, allocations: 1.674 MB / 1.081 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003802/2.284, allocations: 1.135 MB / 1.082 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/2.284, allocations: 4.719 kB / 1.082 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.2032/2.487, allocations: 164.8 MB / 1.243 GB, free: 47.3 MB / 0.5919 GB " [Timeout remaining time 658] 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] [Calling sys.exit(0), Time elapsed: 14.544682473875582]