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.000799/0.000799, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008898/0.0008898, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.08388/0.08388, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 411.5 MB, free: 364 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102e-05/1.239e-05, allocations: 2.281 kB / 411.5 MB, free: 360 kB / 378.7 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.3027/0.3027, allocations: 47.18 MB / 458.7 MB, free: 40.53 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.06932/0.372, allocations: 106.1 MB / 0.5515 GB, free: 5.5 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003985/0.376, allocations: 99.19 kB / 0.5516 GB, free: 5.402 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.3811, allocations: 2.182 MB / 0.5538 GB, free: 3.203 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02269/0.4037, allocations: 10.52 MB / 0.564 GB, free: 8.605 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.03392/0.4377, allocations: 16.23 MB / 0.5799 GB, free: 8.27 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.4498, allocations: 10.88 MB / 0.5905 GB, free: 13.34 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.4543, allocations: 4.654 MB / 0.5951 GB, free: 8.609 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006049/0.4604, allocations: 7.399 MB / 0.6023 GB, free: 1.199 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.4648, allocations: 4.849 MB / 0.607 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0009464/0.4657, allocations: 0.8906 MB / 0.6079 GB, free: 11.45 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2184/0.6841, allocations: 13.14 MB / 0.6207 GB, free: 30.65 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.6869, allocations: 2.164 MB / 0.6228 GB, free: 30.65 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.005754/0.6926, allocations: 3.365 MB / 0.6261 GB, free: 30.65 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.04542/0.738, allocations: 26.61 MB / 0.6521 GB, free: 29.54 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.738, allocations: 0 / 0.6521 GB, free: 29.54 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.834e-06/0.738, allocations: 0.9688 kB / 0.6521 GB, free: 29.54 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004168/0.7385, allocations: 0 / 0.6521 GB, free: 29.54 MB / 0.4949 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.02358/0.762, allocations: 10.54 MB / 0.6624 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7621, allocations: 10.89 kB / 0.6624 GB, free: 25.14 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001253/0.7633, allocations: 0.9051 MB / 0.6633 GB, free: 25.07 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006725/0.7701, allocations: 1.953 MB / 0.6652 GB, free: 24.59 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/0.7758, allocations: 3.516 MB / 0.6686 GB, free: 23.79 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005868/0.7764, allocations: 0.5777 MB / 0.6692 GB, free: 23.71 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002976/0.7794, allocations: 0.7412 MB / 0.6699 GB, free: 23.7 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.8005, allocations: 9.218 MB / 0.6789 GB, free: 23.16 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.8007, allocations: 8.438 kB / 0.6789 GB, free: 23.16 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.8017, allocations: 292.7 kB / 0.6792 GB, free: 23.16 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.8019, allocations: 172.3 kB / 0.6794 GB, free: 23.16 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/0.82, allocations: 12.57 MB / 0.6917 GB, free: 20.18 MB / 0.4949 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.04295/0.863, allocations: 24.87 MB / 0.716 GB, free: 5.488 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/0.8838, allocations: 17.1 MB / 0.7327 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/0.8898, allocations: 4.099 MB / 0.7367 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03376/0.9235, allocations: 19.54 MB / 0.7558 GB, free: 13.2 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.9236, allocations: 95.11 kB / 0.7558 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00199/0.9256, allocations: 0.6519 MB / 0.7565 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=581): time 1.612e-05/0.9256, allocations: 0 / 0.7565 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of matching and sorting (n=757): time 0.07166/0.9973, allocations: 35.26 MB / 0.7909 GB, free: 9.496 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.9973, allocations: 132.3 kB / 0.791 GB, free: 9.355 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/1.001, allocations: 3.545 MB / 0.7945 GB, free: 5.805 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/1.002, allocations: 145.7 kB / 0.7946 GB, free: 5.656 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/1.004, allocations: 3.23 MB / 0.7978 GB, free: 2.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/1.006, allocations: 2.678 MB / 0.8004 GB, free: 15.79 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001961/1.008, allocations: 1.691 MB / 0.8021 GB, free: 14.09 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/1.008, allocations: 308.1 kB / 0.8023 GB, free: 13.79 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.012, allocations: 2.865 MB / 0.8051 GB, free: 10.92 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/1.018, allocations: 5.739 MB / 0.8107 GB, free: 3.945 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.03, allocations: 9.52 MB / 0.82 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-05/1.03, allocations: 27.94 kB / 0.8201 GB, free: 9.594 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.1921/1.222, allocations: 10.72 MB / 0.8305 GB, free: 242.3 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/1.222, allocations: 42.06 kB / 0.8306 GB, free: 242.3 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.741e-05/1.222, allocations: 92.06 kB / 0.8307 GB, free: 242.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004579/1.227, allocations: 1.813 MB / 0.8324 GB, free: 242.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005983/1.233, allocations: 2.314 MB / 0.8347 GB, free: 242.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/1.243, allocations: 12.2 MB / 0.8466 GB, free: 234.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.249, allocations: 294.4 kB / 0.8469 GB, free: 234.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/1.25, allocations: 0.5165 MB / 0.8474 GB, free: 234.9 MB / 0.6043 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.003184/1.254, allocations: 1.2 MB / 0.8486 GB, free: 234.7 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001408/1.255, allocations: 0.5988 MB / 0.8492 GB, free: 234.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/1.27, allocations: 10.12 MB / 0.859 GB, free: 231.1 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/1.27, allocations: 81.41 kB / 0.8591 GB, free: 231.1 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-05/1.27, allocations: 6.016 kB / 0.8591 GB, free: 231.1 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001181/1.27, allocations: 39.91 kB / 0.8592 GB, free: 231.1 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02553/1.296, allocations: 15.3 MB / 0.8741 GB, free: 224.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.296, allocations: 3.812 kB / 0.8741 GB, free: 224.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/1.3, allocations: 1.525 MB / 0.8756 GB, free: 224.6 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/1.304, allocations: 1.597 MB / 0.8771 GB, free: 224.3 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009705/1.304, allocations: 267.3 kB / 0.8774 GB, free: 224.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/1.313, allocations: 11.45 MB / 0.8886 GB, free: 214.9 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.313, allocations: 11.5 kB / 0.8886 GB, free: 214.9 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/1.329, allocations: 12.97 MB / 0.9013 GB, free: 204.9 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002812/1.332, allocations: 1.273 MB / 0.9025 GB, free: 204 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000878/1.333, allocations: 144 kB / 0.9026 GB, free: 203.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/1.335, allocations: 154.5 kB / 0.9028 GB, free: 203.7 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/1.335, allocations: 0.6057 MB / 0.9034 GB, free: 203.4 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/1.336, allocations: 313.3 kB / 0.9037 GB, free: 203.1 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001971/1.338, allocations: 2.043 MB / 0.9057 GB, free: 201.4 MB / 0.6043 GB Notification: Performance of sort global known variables: time 2e-07/1.338, allocations: 0 / 0.9057 GB, free: 201.4 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.01249/1.35, allocations: 5.102 MB / 0.9107 GB, free: 197.3 MB / 0.6043 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.02493/1.375, allocations: 19.39 MB / 0.9296 GB, free: 179.1 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.386, allocations: 8.413 MB / 0.9378 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.386, allocations: 6.016 kB / 0.9378 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/1.392, allocations: 4.486 MB / 0.9422 GB, free: 166.2 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.396, allocations: 1.187 MB / 0.9434 GB, free: 165 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07099/1.467, allocations: 60 MB / 1.002 GB, free: 100.8 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.469, allocations: 2.707 MB / 1.005 GB, free: 98.13 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.004806/1.473, allocations: 1.68 MB / 1.006 GB, free: 96.89 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/1.477, allocations: 3.715 MB / 1.01 GB, free: 93.17 MB / 0.6043 GB Notification: Performance of SimCode: time 1.362e-06/1.477, allocations: 0 / 1.01 GB, free: 93.17 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3822/1.859, allocations: 224.9 MB / 1.229 GB, free: 138.8 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.79/19.65, allocations: 8.047 kB / 1.229 GB, free: 138.8 MB / 0.6043 GB " [Timeout remaining time 640] (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: 21.66183696128428] Failed to read output from testmodel.py, exit status != 0: 19.83985609561205 19.848773363 19.109226617 Calling exit ...