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.001784/0.001784, allocations: 103.6 kB / 16.45 MB, free: 6.5 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.002252/0.002252, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.1726/0.1726, allocations: 23.85 MB / 332.7 MB, free: 12.38 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) [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.002117/0.002117, allocations: 71.84 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.314, allocations: 59.81 MB / 0.5135 GB, free: 8.852 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.06541/0.3794, allocations: 50.9 MB / 0.5632 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.157/0.5365, allocations: 121.3 MB / 0.6816 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005526/0.542, allocations: 99.19 kB / 0.6817 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007319/0.5493, allocations: 2.393 MB / 0.6841 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03201/0.5813, allocations: 10.19 MB / 0.694 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04703/0.6283, allocations: 15.61 MB / 0.7093 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01768/0.646, allocations: 10.55 MB / 0.7196 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008027/0.654, allocations: 4.69 MB / 0.7242 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2754/0.9295, allocations: 5.431 MB / 0.7295 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/0.9432, allocations: 5.971 MB / 0.7353 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005153/0.9484, allocations: 0.8854 MB / 0.7362 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05001/0.9984, allocations: 13.91 MB / 0.7497 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00484/1.003, allocations: 2.141 MB / 0.7518 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008566/1.012, allocations: 4.547 MB / 0.7563 GB, free: 24.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05459/1.066, allocations: 24.95 MB / 0.7806 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.066, allocations: 2.656 kB / 0.7806 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/1.066, allocations: 0 / 0.7806 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000412/1.067, allocations: 0 / 0.7806 GB, free: 21.97 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.03154/1.098, allocations: 10.72 MB / 0.7911 GB, free: 17.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.098, allocations: 9.406 kB / 0.7911 GB, free: 17.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003267/1.102, allocations: 0.9056 MB / 0.792 GB, free: 17.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/1.113, allocations: 1.95 MB / 0.7939 GB, free: 16.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008171/1.121, allocations: 3.618 MB / 0.7974 GB, free: 16.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/1.122, allocations: 0.5521 MB / 0.798 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/1.125, allocations: 0.7359 MB / 0.7987 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02279/1.148, allocations: 9.208 MB / 0.8077 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/1.148, allocations: 13.06 kB / 0.8077 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.15, allocations: 289.1 kB / 0.808 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/1.15, allocations: 173.2 kB / 0.8081 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02538/1.175, allocations: 12.7 MB / 0.8205 GB, free: 15.91 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.0718/1.247, allocations: 30.31 MB / 0.8501 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04004/1.287, allocations: 19.85 MB / 0.8695 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009258/1.296, allocations: 4.091 MB / 0.8735 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06952/1.366, allocations: 36.63 MB / 0.9093 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.242e-05/1.366, allocations: 98.69 kB / 0.9094 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00293/1.369, allocations: 0.6568 MB / 0.91 GB, free: 15.96 MB / 0.67 GB Notification: Performance of pre-optimization done (n=581): time 1.626e-05/1.369, allocations: 2.688 kB / 0.91 GB, free: 15.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=757): time 0.1354/1.504, allocations: 35.58 MB / 0.9448 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/1.504, allocations: 129.3 kB / 0.9449 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/1.51, allocations: 3.384 MB / 0.9482 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001383/1.511, allocations: 153.7 kB / 0.9483 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002792/1.514, allocations: 3.245 MB / 0.9515 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.003878/1.518, allocations: 2.717 MB / 0.9542 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003373/1.521, allocations: 1.706 MB / 0.9558 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.522, allocations: 305.1 kB / 0.9561 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006428/1.528, allocations: 2.855 MB / 0.9589 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01057/1.539, allocations: 5.746 MB / 0.9645 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2708/1.809, allocations: 9.481 MB / 0.9738 GB, free: 296.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/1.809, allocations: 26.19 kB / 0.9738 GB, free: 296.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.0335/1.843, allocations: 10.7 MB / 0.9843 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/1.843, allocations: 43.83 kB / 0.9843 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/1.843, allocations: 90.06 kB / 0.9844 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/1.853, allocations: 1.817 MB / 0.9862 GB, free: 294.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/1.864, allocations: 2.319 MB / 0.9884 GB, free: 294.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/1.882, allocations: 12.81 MB / 1.001 GB, free: 284 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006806/1.889, allocations: 293.6 kB / 1.001 GB, free: 283.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/1.891, allocations: 0.5168 MB / 1.002 GB, free: 283.8 MB / 0.7169 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.003836/1.895, allocations: 1.203 MB / 1.003 GB, free: 283 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.896, allocations: 0.6041 MB / 1.003 GB, free: 283 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02682/1.923, allocations: 10.1 MB / 1.013 GB, free: 279.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.285e-05/1.923, allocations: 79.48 kB / 1.013 GB, free: 279.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-05/1.923, allocations: 6.656 kB / 1.013 GB, free: 279.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002683/1.924, allocations: 42.61 kB / 1.013 GB, free: 279.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/1.961, allocations: 16.31 MB / 1.029 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.9e-05/1.961, allocations: 4.844 kB / 1.029 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008345/1.969, allocations: 1.531 MB / 1.031 GB, free: 272.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008372/1.978, allocations: 1.597 MB / 1.032 GB, free: 272 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00146/1.979, allocations: 271.4 kB / 1.033 GB, free: 271.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/1.993, allocations: 12.08 MB / 1.045 GB, free: 261.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/1.993, allocations: 3.656 kB / 1.045 GB, free: 261.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0246/2.018, allocations: 12.95 MB / 1.057 GB, free: 256.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004267/2.022, allocations: 1.341 MB / 1.058 GB, free: 255.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/2.024, allocations: 151.9 kB / 1.059 GB, free: 255.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/2.028, allocations: 150.5 kB / 1.059 GB, free: 255 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/2.029, allocations: 0.5769 MB / 1.059 GB, free: 254.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007079/2.03, allocations: 314.9 kB / 1.06 GB, free: 254.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002799/2.033, allocations: 2.042 MB / 1.062 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.033, allocations: 0 / 1.062 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01612/2.049, allocations: 5.104 MB / 1.067 GB, free: 248.5 MB / 0.7169 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.03796/2.087, allocations: 19.14 MB / 1.085 GB, free: 230.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01615/2.103, allocations: 8.395 MB / 1.094 GB, free: 222.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.103, allocations: 0 / 1.094 GB, free: 222.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008268/2.111, allocations: 4.489 MB / 1.098 GB, free: 217.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006758/2.118, allocations: 1.195 MB / 1.099 GB, free: 216.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/2.221, allocations: 60.09 MB / 1.158 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/2.223, allocations: 3.176 MB / 1.161 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.007674/2.231, allocations: 1.684 MB / 1.162 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005422/2.236, allocations: 3.718 MB / 1.166 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.163e-06/2.236, allocations: 0 / 1.166 GB, free: 143.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5547/2.791, allocations: 219.5 MB / 1.38 GB, free: 261.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.45/48.24, allocations: 7.938 kB / 1.38 GB, free: 261.2 MB / 0.7169 GB " [Timeout remaining time 612] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-12 Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 101.66164015400864] Failed to read output from testmodel.py, exit status != 0: 48.47063406799862 48.485562044 47.415835296 Calling exit ...