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.001395/0.001395, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001603/0.001603, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.805 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.1431/0.1431, allocations: 23.99 MB / 336.4 MB, free: 10.94 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.00208/0.00208, allocations: 71.89 kB / 471.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 59.89 MB / 0.5188 GB, free: 9.449 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.09639/0.4192, allocations: 47.08 MB / 0.5647 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1449/0.5642, allocations: 106.1 MB / 0.6684 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007878/0.5721, allocations: 95.25 kB / 0.6684 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008141/0.5802, allocations: 2.167 MB / 0.6706 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03695/0.6172, allocations: 10.18 MB / 0.6805 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04868/0.6658, allocations: 15.77 MB / 0.6959 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01854/0.6844, allocations: 10.54 MB / 0.7062 GB, free: 9.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008906/0.6933, allocations: 4.608 MB / 0.7107 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.7061, allocations: 5.433 MB / 0.716 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01222/0.7183, allocations: 5.361 MB / 0.7212 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005013/0.7233, allocations: 0.8828 MB / 0.7221 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3421/1.065, allocations: 13.03 MB / 0.7348 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003973/1.069, allocations: 2.136 MB / 0.7369 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/1.08, allocations: 3.881 MB / 0.7407 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05752/1.138, allocations: 24.86 MB / 0.765 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.138, allocations: 0 / 0.765 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/1.138, allocations: 0 / 0.765 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003573/1.138, allocations: 0 / 0.765 GB, free: 35.77 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.02661/1.165, allocations: 10.62 MB / 0.7754 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.165, allocations: 9.688 kB / 0.7754 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002872/1.167, allocations: 0.9112 MB / 0.7763 GB, free: 31.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/1.179, allocations: 1.946 MB / 0.7782 GB, free: 30.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008547/1.187, allocations: 3.519 MB / 0.7816 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000514/1.188, allocations: 0.5815 MB / 0.7822 GB, free: 29.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/1.19, allocations: 0.7361 MB / 0.7829 GB, free: 29.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/1.208, allocations: 9.218 MB / 0.7919 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/1.208, allocations: 6.906 kB / 0.7919 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009876/1.209, allocations: 284.2 kB / 0.7922 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-05/1.21, allocations: 176.6 kB / 0.7923 GB, free: 29.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/1.232, allocations: 12.58 MB / 0.8046 GB, free: 28.25 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.0569/1.289, allocations: 24.87 MB / 0.8289 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03211/1.321, allocations: 17.11 MB / 0.8456 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01104/1.332, allocations: 4.095 MB / 0.8496 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05746/1.39, allocations: 19.55 MB / 0.8687 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.921e-05/1.39, allocations: 91.12 kB / 0.8688 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002855/1.392, allocations: 0.6595 MB / 0.8694 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.434e-05/1.393, allocations: 0 / 0.8694 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1261/1.519, allocations: 35.26 MB / 0.9039 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/1.519, allocations: 129.3 kB / 0.904 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/1.525, allocations: 3.538 MB / 0.9074 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.526, allocations: 153.7 kB / 0.9076 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/1.529, allocations: 3.245 MB / 0.9108 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003544/1.532, allocations: 2.717 MB / 0.9134 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002912/1.535, allocations: 1.702 MB / 0.9151 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.535, allocations: 305.1 kB / 0.9154 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005678/1.541, allocations: 2.869 MB / 0.9182 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00924/1.55, allocations: 5.745 MB / 0.9238 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/1.569, allocations: 9.511 MB / 0.9331 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001312/1.569, allocations: 24 kB / 0.9331 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03436/1.603, allocations: 10.72 MB / 0.9436 GB, free: 6.992 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.603, allocations: 46.66 kB / 0.9436 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.604, allocations: 88 kB / 0.9437 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009722/1.613, allocations: 1.812 MB / 0.9454 GB, free: 5.062 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/1.625, allocations: 2.31 MB / 0.9477 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0265/1.651, allocations: 12.21 MB / 0.9596 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008238/1.659, allocations: 298.3 kB / 0.9599 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/1.661, allocations: 0.5155 MB / 0.9604 GB, free: 5.391 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.004901/1.666, allocations: 1.2 MB / 0.9616 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002707/1.669, allocations: 0.6055 MB / 0.9622 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03195/1.701, allocations: 10.12 MB / 0.9721 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/1.701, allocations: 76 kB / 0.9721 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.789e-05/1.701, allocations: 4 kB / 0.9721 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002378/1.701, allocations: 35.86 kB / 0.9722 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.325/2.026, allocations: 15.29 MB / 0.9871 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-05/2.026, allocations: 3.562 kB / 0.9871 GB, free: 288.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008024/2.034, allocations: 1.532 MB / 0.9886 GB, free: 288.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008354/2.043, allocations: 1.601 MB / 0.9902 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001271/2.044, allocations: 263.1 kB / 0.9904 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/2.058, allocations: 11.46 MB / 1.002 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/2.058, allocations: 10.83 kB / 1.002 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03142/2.09, allocations: 12.98 MB / 1.014 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004145/2.094, allocations: 1.267 MB / 1.016 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.095, allocations: 147.1 kB / 1.016 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/2.098, allocations: 153.2 kB / 1.016 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/2.1, allocations: 0.6032 MB / 1.016 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006419/2.1, allocations: 315.6 kB / 1.017 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002568/2.103, allocations: 2.041 MB / 1.019 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/2.103, allocations: 0 / 1.019 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01512/2.118, allocations: 5.104 MB / 1.024 GB, free: 272.2 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.03517/2.153, allocations: 19.16 MB / 1.042 GB, free: 262.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01481/2.168, allocations: 8.424 MB / 1.051 GB, free: 254.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/2.168, allocations: 0 / 1.051 GB, free: 254.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008776/2.177, allocations: 4.481 MB / 1.055 GB, free: 250.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008442/2.185, allocations: 1.192 MB / 1.056 GB, free: 249.8 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09382/2.279, allocations: 60.14 MB / 1.115 GB, free: 187.9 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/2.281, allocations: 2.704 MB / 1.118 GB, free: 185.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006352/2.287, allocations: 1.676 MB / 1.119 GB, free: 184.1 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0057/2.293, allocations: 3.724 MB / 1.123 GB, free: 180.3 MB / 0.7012 GB Notification: Performance of SimCode: time 1.904e-06/2.293, allocations: 3.062 kB / 1.123 GB, free: 180.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5691/2.862, allocations: 224.2 MB / 1.342 GB, free: 268.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.84/31.71, allocations: 14.59 kB / 1.342 GB, free: 268.5 MB / 0.7012 GB " [Timeout remaining time 628] (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: 34.668486260809004] Failed to read output from testmodel.py, exit status != 0: 31.954231488052756 31.965794428 30.82542334 Calling exit ...