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.0008396/0.0008396, allocations: 76.44 kB / 19.17 MB, free: 0.7383 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.0008791/0.0008791, allocations: 173.2 kB / 22.46 MB, free: 2.098 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.8376/0.8376, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.0817/0.0817, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 411.7 MB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.715e-05, allocations: 2.281 kB / 411.7 MB, free: 200 kB / 378.7 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.2689/0.2689, allocations: 47.18 MB / 458.8 MB, free: 40.45 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.06365/0.3326, allocations: 106.1 MB / 0.5517 GB, free: 5.254 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.3359, allocations: 103.2 kB / 0.5518 GB, free: 5.152 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.003648/0.3395, allocations: 2.19 MB / 0.5539 GB, free: 2.945 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.3573, allocations: 10.53 MB / 0.5642 GB, free: 8.344 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.02978/0.3871, allocations: 16.22 MB / 0.58 GB, free: 8.02 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.009545/0.3966, allocations: 10.9 MB / 0.5907 GB, free: 13.07 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004338/0.401, allocations: 4.648 MB / 0.5952 GB, free: 8.352 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005829/0.4068, allocations: 7.395 MB / 0.6024 GB, free: 0.9453 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00398/0.4108, allocations: 4.849 MB / 0.6072 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0008306/0.4116, allocations: 0.8867 MB / 0.608 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1988/0.6104, allocations: 13.14 MB / 0.6209 GB, free: 30.39 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.6123, allocations: 2.162 MB / 0.623 GB, free: 30.39 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.003312/0.6156, allocations: 3.369 MB / 0.6263 GB, free: 30.39 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.03547/0.6511, allocations: 26.61 MB / 0.6523 GB, free: 29.28 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6511, allocations: 3.312 kB / 0.6523 GB, free: 29.28 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6511, allocations: 0 / 0.6523 GB, free: 29.28 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0002218/0.6513, allocations: 0 / 0.6523 GB, free: 29.28 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.01582/0.6671, allocations: 10.54 MB / 0.6626 GB, free: 24.89 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6672, allocations: 9.062 kB / 0.6626 GB, free: 24.89 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009833/0.6682, allocations: 0.9051 MB / 0.6634 GB, free: 24.81 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005969/0.6741, allocations: 1.953 MB / 0.6654 GB, free: 24.34 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.6787, allocations: 3.52 MB / 0.6688 GB, free: 23.54 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.6789, allocations: 0.5772 MB / 0.6694 GB, free: 23.46 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008407/0.6798, allocations: 0.7354 MB / 0.6701 GB, free: 23.44 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008952/0.6887, allocations: 9.219 MB / 0.6791 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/0.6888, allocations: 384 / 0.6791 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005505/0.6894, allocations: 294.9 kB / 0.6794 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.6894, allocations: 174.8 kB / 0.6795 GB, free: 22.9 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.7001, allocations: 12.58 MB / 0.6918 GB, free: 19.87 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.02391/0.7241, allocations: 24.88 MB / 0.7161 GB, free: 5.066 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01793/0.742, allocations: 17.12 MB / 0.7328 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004069/0.7461, allocations: 4.098 MB / 0.7368 GB, free: 15.91 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02696/0.773, allocations: 19.54 MB / 0.7559 GB, free: 12.78 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.7731, allocations: 91.12 kB / 0.756 GB, free: 12.68 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001508/0.7746, allocations: 0.6512 MB / 0.7566 GB, free: 12.04 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=581): time 1.002e-05/0.7746, allocations: 7.641 kB / 0.7566 GB, free: 12.04 MB / 0.5418 GB Notification: Performance of matching and sorting (n=757): time 0.05883/0.8334, allocations: 35.25 MB / 0.7911 GB, free: 9.078 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.8335, allocations: 129.3 kB / 0.7912 GB, free: 8.938 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.8365, allocations: 3.538 MB / 0.7946 GB, free: 5.395 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.8368, allocations: 149.7 kB / 0.7948 GB, free: 5.242 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.8384, allocations: 3.231 MB / 0.7979 GB, free: 2.012 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/0.8397, allocations: 2.675 MB / 0.8005 GB, free: 15.37 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/0.8413, allocations: 1.691 MB / 0.8022 GB, free: 13.66 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.8414, allocations: 305.1 kB / 0.8025 GB, free: 13.36 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/0.8446, allocations: 2.865 MB / 0.8053 GB, free: 10.49 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004342/0.849, allocations: 5.756 MB / 0.8109 GB, free: 3.512 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009256/0.8582, allocations: 9.504 MB / 0.8202 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-05/0.8583, allocations: 30.48 kB / 0.8202 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.2027/1.061, allocations: 10.72 MB / 0.8307 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.476e-05/1.061, allocations: 42.38 kB / 0.8307 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.668e-05/1.061, allocations: 91.34 kB / 0.8308 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004096/1.065, allocations: 1.813 MB / 0.8326 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/1.07, allocations: 2.316 MB / 0.8348 GB, free: 151.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008426/1.079, allocations: 12.19 MB / 0.8468 GB, free: 143.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.083, allocations: 290.4 kB / 0.847 GB, free: 143.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006345/1.083, allocations: 0.5145 MB / 0.8475 GB, free: 143.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.002305/1.086, allocations: 1.206 MB / 0.8487 GB, free: 143.7 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/1.087, allocations: 0.602 MB / 0.8493 GB, free: 143.7 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.101, allocations: 10.13 MB / 0.8592 GB, free: 143.4 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/1.101, allocations: 81.59 kB / 0.8593 GB, free: 143.4 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.101, allocations: 5.562 kB / 0.8593 GB, free: 143.4 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/1.101, allocations: 39.33 kB / 0.8593 GB, free: 143.4 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/1.118, allocations: 15.29 MB / 0.8742 GB, free: 140.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/1.118, allocations: 7.875 kB / 0.8742 GB, free: 140.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003498/1.121, allocations: 1.525 MB / 0.8757 GB, free: 140.7 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003653/1.125, allocations: 1.604 MB / 0.8773 GB, free: 140.4 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/1.125, allocations: 260.8 kB / 0.8776 GB, free: 140.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007432/1.133, allocations: 11.46 MB / 0.8887 GB, free: 131 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.133, allocations: 5.625 kB / 0.8887 GB, free: 131 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.146, allocations: 12.97 MB / 0.9014 GB, free: 125.7 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.147, allocations: 1.267 MB / 0.9026 GB, free: 125.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/1.148, allocations: 150.1 kB / 0.9028 GB, free: 125 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.149, allocations: 156.6 kB / 0.9029 GB, free: 124.9 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005728/1.15, allocations: 0.6049 MB / 0.9035 GB, free: 124.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/1.15, allocations: 312.4 kB / 0.9038 GB, free: 124.7 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.001628/1.152, allocations: 2.049 MB / 0.9058 GB, free: 124 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.6e-07/1.152, allocations: 0 / 0.9058 GB, free: 124 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.008739/1.161, allocations: 5.101 MB / 0.9108 GB, free: 123.4 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.01998/1.181, allocations: 19.38 MB / 0.9297 GB, free: 106.8 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.008354/1.189, allocations: 8.413 MB / 0.938 GB, free: 99.48 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.189, allocations: 0 / 0.938 GB, free: 99.48 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/1.193, allocations: 4.49 MB / 0.9423 GB, free: 95.49 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.196, allocations: 1.193 MB / 0.9435 GB, free: 94.52 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/1.248, allocations: 60 MB / 1.002 GB, free: 30.58 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.249, allocations: 2.704 MB / 1.005 GB, free: 27.92 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 0.003898/1.253, allocations: 1.684 MB / 1.006 GB, free: 26.42 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/1.256, allocations: 3.722 MB / 1.01 GB, free: 22.7 MB / 0.6043 GB Notification: Performance of SimCode: time 1.163e-06/1.256, allocations: 0 / 1.01 GB, free: 22.7 MB / 0.6043 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3501/1.606, allocations: 224.9 MB / 1.23 GB, free: 97 MB / 0.6199 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.81, allocations: 1.312 kB / 1.23 GB, free: 97 MB / 0.6199 GB " [Timeout remaining time 642] (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: 19.71524215862155] Failed to read output from testmodel.py, exit status != 0: 17.994714748114347 18.000420453 17.348035757999998 Calling exit ...