Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.00133/0.00133, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001479/0.001479, allocations: 219.4 kB / 22.24 MB, free: 5.25 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1319/0.1319, allocations: 23.93 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_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.003169/0.003169, allocations: 63.91 kB / 471.2 MB, free: 7.426 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3423, allocations: 59.88 MB / 0.5186 GB, free: 9.512 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.08897/0.4313, allocations: 47 MB / 0.5645 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1456/0.5769, allocations: 106.1 MB / 0.6682 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/0.5833, allocations: 95.25 kB / 0.6683 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008036/0.5913, allocations: 2.159 MB / 0.6704 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03107/0.6224, allocations: 10.17 MB / 0.6803 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04247/0.6648, allocations: 15.77 MB / 0.6957 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01721/0.682, allocations: 10.54 MB / 0.706 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00719/0.6892, allocations: 4.694 MB / 0.7106 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009011/0.6982, allocations: 5.441 MB / 0.7159 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01073/0.709, allocations: 5.974 MB / 0.7217 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003736/0.7127, allocations: 0.8867 MB / 0.7226 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3096/1.022, allocations: 13.38 MB / 0.7357 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003534/1.026, allocations: 2.134 MB / 0.7377 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01018/1.036, allocations: 3.878 MB / 0.7415 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05783/1.094, allocations: 24.86 MB / 0.7658 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.094, allocations: 3.188 kB / 0.7658 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/1.094, allocations: 0 / 0.7658 GB, free: 35.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004446/1.094, allocations: 0 / 0.7658 GB, free: 35.48 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.02794/1.122, allocations: 10.63 MB / 0.7762 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.122, allocations: 9.406 kB / 0.7762 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002177/1.125, allocations: 0.9059 MB / 0.7771 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.135, allocations: 1.943 MB / 0.779 GB, free: 30.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009276/1.144, allocations: 3.523 MB / 0.7824 GB, free: 29.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005416/1.145, allocations: 0.5772 MB / 0.783 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/1.148, allocations: 0.7379 MB / 0.7837 GB, free: 29.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/1.165, allocations: 9.22 MB / 0.7927 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/1.165, allocations: 3.469 kB / 0.7927 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007689/1.166, allocations: 288.4 kB / 0.793 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-05/1.166, allocations: 175.5 kB / 0.7932 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/1.188, allocations: 12.58 MB / 0.8054 GB, free: 28.29 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.05846/1.247, allocations: 24.87 MB / 0.8297 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03321/1.28, allocations: 17.1 MB / 0.8464 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009555/1.29, allocations: 4.099 MB / 0.8504 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05209/1.342, allocations: 19.56 MB / 0.8695 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.236e-05/1.342, allocations: 91.12 kB / 0.8696 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002587/1.344, allocations: 0.6609 MB / 0.8703 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.124e-05/1.344, allocations: 0 / 0.8703 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.113/1.457, allocations: 35.26 MB / 0.9047 GB, free: 484 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.458, allocations: 129.3 kB / 0.9048 GB, free: 340 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005366/1.463, allocations: 3.531 MB / 0.9083 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001465/1.464, allocations: 156.4 kB / 0.9084 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002641/1.467, allocations: 3.248 MB / 0.9116 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003865/1.471, allocations: 2.716 MB / 0.9142 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003214/1.474, allocations: 1.702 MB / 0.9159 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.474, allocations: 309.1 kB / 0.9162 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005515/1.48, allocations: 2.865 MB / 0.919 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009127/1.489, allocations: 5.743 MB / 0.9246 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/1.507, allocations: 9.509 MB / 0.9339 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.507, allocations: 24 kB / 0.9339 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03029/1.537, allocations: 10.72 MB / 0.9444 GB, free: 6.371 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/1.537, allocations: 44 kB / 0.9444 GB, free: 6.328 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.537, allocations: 88 kB / 0.9445 GB, free: 6.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009021/1.546, allocations: 1.817 MB / 0.9463 GB, free: 4.438 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/1.557, allocations: 2.321 MB / 0.9485 GB, free: 2.262 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.577, allocations: 12.22 MB / 0.9605 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006876/1.584, allocations: 288 kB / 0.9607 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001907/1.586, allocations: 0.5155 MB / 0.9612 GB, free: 4.766 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.004478/1.591, allocations: 1.204 MB / 0.9624 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002439/1.593, allocations: 0.6007 MB / 0.963 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02764/1.621, allocations: 10.12 MB / 0.9729 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-05/1.621, allocations: 79.47 kB / 0.973 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.621, allocations: 7.938 kB / 0.973 GB, free: 8.965 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001983/1.621, allocations: 43.78 kB / 0.973 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2968/1.918, allocations: 15.28 MB / 0.9879 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/1.918, allocations: 5.125 kB / 0.9879 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007975/1.926, allocations: 1.53 MB / 0.9894 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007807/1.934, allocations: 1.598 MB / 0.991 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/1.935, allocations: 265.6 kB / 0.9913 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/1.949, allocations: 11.46 MB / 1.002 GB, free: 278.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.949, allocations: 4.281 kB / 1.002 GB, free: 278.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02639/1.975, allocations: 12.98 MB / 1.015 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/1.979, allocations: 1.268 MB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.98, allocations: 148.8 kB / 1.017 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.983, allocations: 151.5 kB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/1.984, allocations: 0.6049 MB / 1.017 GB, free: 273 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000572/1.984, allocations: 315.3 kB / 1.018 GB, free: 272.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00262/1.987, allocations: 2.041 MB / 1.02 GB, free: 272.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/1.987, allocations: 0 / 1.02 GB, free: 272.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01418/2.001, allocations: 5.107 MB / 1.025 GB, free: 271.7 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.03298/2.034, allocations: 19.16 MB / 1.043 GB, free: 262 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0146/2.049, allocations: 8.419 MB / 1.051 GB, free: 254.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/2.049, allocations: 0 / 1.051 GB, free: 254.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00714/2.056, allocations: 4.492 MB / 1.056 GB, free: 250.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005631/2.062, allocations: 1.179 MB / 1.057 GB, free: 249.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0911/2.153, allocations: 60.13 MB / 1.116 GB, free: 187.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/2.155, allocations: 2.704 MB / 1.118 GB, free: 184.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.005882/2.161, allocations: 1.685 MB / 1.12 GB, free: 183.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004508/2.165, allocations: 3.722 MB / 1.124 GB, free: 179.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.633e-06/2.165, allocations: 0 / 1.124 GB, free: 179.9 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5437/2.709, allocations: 224.2 MB / 1.343 GB, free: 268.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.76/29.47, allocations: 4.609 kB / 1.343 GB, free: 268.5 MB / 0.7012 GB " [Timeout remaining time 630] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 32.28766777899] Failed to read output from testmodel.py, exit status != 0: 29.710348847002024 29.718597667 28.622108117 Calling exit ...