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.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001439/0.001439, allocations: 216.3 kB / 22.25 MB, free: 4.855 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.801 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.1376/0.1376, allocations: 23.87 MB / 336.3 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: "" <> 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.002208/0.002208, allocations: 63.91 kB / 471.1 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 59.86 MB / 0.5186 GB, free: 9.504 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.09393/0.4123, allocations: 47.08 MB / 0.5645 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1399/0.5521, allocations: 106.1 MB / 0.6682 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006242/0.5584, allocations: 95.25 kB / 0.6682 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007428/0.5658, allocations: 2.155 MB / 0.6704 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03085/0.5967, allocations: 10.17 MB / 0.6803 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04127/0.6379, allocations: 15.78 MB / 0.6957 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01555/0.6535, allocations: 10.53 MB / 0.706 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007136/0.6606, allocations: 4.616 MB / 0.7105 GB, free: 4.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008559/0.6692, allocations: 5.433 MB / 0.7158 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009794/0.679, allocations: 5.36 MB / 0.721 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003131/0.6821, allocations: 0.8945 MB / 0.7219 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3049/0.987, allocations: 13.02 MB / 0.7346 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004051/0.991, allocations: 2.14 MB / 0.7367 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009943/1.001, allocations: 3.876 MB / 0.7405 GB, free: 37.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04843/1.049, allocations: 24.86 MB / 0.7648 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.049, allocations: 6.844 kB / 0.7648 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.013e-06/1.049, allocations: 0 / 0.7648 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003229/1.05, allocations: 0 / 0.7648 GB, free: 35.55 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.02329/1.073, allocations: 10.62 MB / 0.7752 GB, free: 31.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.073, allocations: 13.12 kB / 0.7752 GB, free: 31.1 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/1.075, allocations: 0.9035 MB / 0.776 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009347/1.084, allocations: 1.949 MB / 0.778 GB, free: 30.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008073/1.092, allocations: 3.52 MB / 0.7814 GB, free: 29.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/1.092, allocations: 0.5779 MB / 0.782 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002323/1.095, allocations: 0.7384 MB / 0.7827 GB, free: 29.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/1.114, allocations: 9.221 MB / 0.7917 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/1.114, allocations: 3.844 kB / 0.7917 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009712/1.115, allocations: 294.5 kB / 0.792 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.341e-05/1.115, allocations: 172.4 kB / 0.7921 GB, free: 29.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/1.136, allocations: 12.57 MB / 0.8044 GB, free: 28.11 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.05182/1.188, allocations: 24.87 MB / 0.8287 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03044/1.218, allocations: 17.1 MB / 0.8454 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009083/1.227, allocations: 4.095 MB / 0.8494 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05792/1.285, allocations: 19.55 MB / 0.8685 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/1.286, allocations: 98.59 kB / 0.8686 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003718/1.289, allocations: 0.6545 MB / 0.8692 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.192e-05/1.289, allocations: 4 kB / 0.8692 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1665/1.456, allocations: 35.26 MB / 0.9037 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.456, allocations: 132 kB / 0.9038 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005542/1.461, allocations: 3.535 MB / 0.9072 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/1.463, allocations: 149.7 kB / 0.9074 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/1.465, allocations: 3.255 MB / 0.9106 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003337/1.469, allocations: 2.711 MB / 0.9132 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003045/1.472, allocations: 1.702 MB / 0.9149 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.472, allocations: 309.1 kB / 0.9152 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.477, allocations: 2.861 MB / 0.918 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008944/1.486, allocations: 5.75 MB / 0.9236 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/1.505, allocations: 9.506 MB / 0.9328 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.505, allocations: 28 kB / 0.9329 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02792/1.533, allocations: 10.72 MB / 0.9433 GB, free: 7.352 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.533, allocations: 44 kB / 0.9434 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/1.533, allocations: 94.66 kB / 0.9435 GB, free: 7.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009208/1.542, allocations: 1.817 MB / 0.9452 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/1.553, allocations: 2.321 MB / 0.9475 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/1.573, allocations: 12.2 MB / 0.9594 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007603/1.581, allocations: 292 kB / 0.9597 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.583, allocations: 0.5194 MB / 0.9602 GB, free: 5.742 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.004432/1.587, allocations: 1.207 MB / 0.9614 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001794/1.589, allocations: 0.5977 MB / 0.962 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02558/1.615, allocations: 10.12 MB / 0.9719 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.8e-05/1.615, allocations: 80 kB / 0.9719 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/1.615, allocations: 4 kB / 0.9719 GB, free: 9.949 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001803/1.615, allocations: 39.84 kB / 0.972 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2574/1.872, allocations: 15.29 MB / 0.9869 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-05/1.872, allocations: 7.062 kB / 0.9869 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008169/1.88, allocations: 1.528 MB / 0.9884 GB, free: 288.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007976/1.888, allocations: 1.597 MB / 0.99 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001367/1.89, allocations: 261.3 kB / 0.9902 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/1.903, allocations: 11.47 MB / 1.001 GB, free: 279.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.903, allocations: 3.844 kB / 1.001 GB, free: 279.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02802/1.931, allocations: 12.98 MB / 1.014 GB, free: 274.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003847/1.935, allocations: 1.269 MB / 1.015 GB, free: 274.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.937, allocations: 156.9 kB / 1.015 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/1.94, allocations: 149.7 kB / 1.016 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/1.941, allocations: 0.6058 MB / 1.016 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000605/1.942, allocations: 315.8 kB / 1.017 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002573/1.945, allocations: 2.039 MB / 1.019 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.945, allocations: 0 / 1.019 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01689/1.961, allocations: 5.104 MB / 1.023 GB, free: 272.6 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.03521/1.997, allocations: 19.16 MB / 1.042 GB, free: 262.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01474/2.011, allocations: 8.415 MB / 1.05 GB, free: 255.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/2.011, allocations: 0 / 1.05 GB, free: 255.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006969/2.018, allocations: 4.48 MB / 1.055 GB, free: 251.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/2.025, allocations: 1.195 MB / 1.056 GB, free: 250.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08966/2.114, allocations: 60.13 MB / 1.115 GB, free: 188.4 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/2.116, allocations: 2.711 MB / 1.117 GB, free: 185.7 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006388/2.123, allocations: 1.68 MB / 1.119 GB, free: 184.6 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004676/2.127, allocations: 3.719 MB / 1.123 GB, free: 180.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.774e-06/2.127, allocations: 0 / 1.123 GB, free: 180.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5579/2.685, allocations: 224.3 MB / 1.342 GB, free: 268.4 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.83/31.51, allocations: 3.984 kB / 1.342 GB, free: 268.4 MB / 0.7012 GB " [Timeout remaining time 628] (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 os._exit(0), Time elapsed: 34.441773399244994] Failed to read output from testmodel.py, exit status != 0: 31.774359442293644 31.794707259 30.741222884 Calling exit ...