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.001537/0.001537, allocations: 114.3 kB / 18.94 MB, free: 2.805 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.00175/0.00175, allocations: 219.6 kB / 22.26 MB, free: 5.191 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8.012 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.1306/0.1306, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.001954/0.001954, allocations: 67.91 kB / 471.2 MB, free: 7.676 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.312, allocations: 59.86 MB / 0.5186 GB, free: 9.617 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.06357/0.3756, allocations: 51.23 MB / 0.5686 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1443/0.5199, allocations: 121.5 MB / 0.6873 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005279/0.5251, allocations: 95.25 kB / 0.6874 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006724/0.5319, allocations: 2.405 MB / 0.6898 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02866/0.5605, allocations: 10.27 MB / 0.6998 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.03999/0.6005, allocations: 15.76 MB / 0.7152 GB, free: 196 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0161/0.6166, allocations: 10.55 MB / 0.7255 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006978/0.6236, allocations: 4.675 MB / 0.7301 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.253/0.8766, allocations: 5.43 MB / 0.7354 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01338/0.89, allocations: 5.977 MB / 0.7412 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004016/0.894, allocations: 0.8861 MB / 0.7421 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03804/0.9321, allocations: 13.91 MB / 0.7556 GB, free: 26.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003962/0.936, allocations: 2.14 MB / 0.7577 GB, free: 26.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006891/0.9429, allocations: 4.542 MB / 0.7622 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04656/0.9895, allocations: 24.96 MB / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.9895, allocations: 0 / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9895, allocations: 0 / 0.7865 GB, free: 23.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002917/0.9898, allocations: 0 / 0.7865 GB, free: 23.19 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.02375/1.014, allocations: 10.64 MB / 0.7969 GB, free: 18.74 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/1.014, allocations: 9.625 kB / 0.7969 GB, free: 18.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002611/1.016, allocations: 0.9084 MB / 0.7978 GB, free: 18.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009738/1.026, allocations: 1.95 MB / 0.7997 GB, free: 18.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008518/1.034, allocations: 3.518 MB / 0.8032 GB, free: 17.38 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005428/1.035, allocations: 0.58 MB / 0.8037 GB, free: 17.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/1.038, allocations: 0.7357 MB / 0.8045 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/1.055, allocations: 9.228 MB / 0.8135 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.055, allocations: 7.844 kB / 0.8135 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009934/1.056, allocations: 284 kB / 0.8137 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.358e-05/1.056, allocations: 172 kB / 0.8139 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/1.076, allocations: 12.73 MB / 0.8263 GB, free: 14.12 MB / 0.5762 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.06337/1.139, allocations: 30.14 MB / 0.8558 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03536/1.174, allocations: 17.51 MB / 0.8729 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008325/1.183, allocations: 4.103 MB / 0.8769 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05348/1.236, allocations: 20.65 MB / 0.897 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.385e-05/1.236, allocations: 87.12 kB / 0.8971 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002906/1.239, allocations: 0.6589 MB / 0.8978 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 1.054e-05/1.239, allocations: 0 / 0.8978 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.119/1.358, allocations: 35.25 MB / 0.9322 GB, free: 2.27 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.358, allocations: 132.8 kB / 0.9323 GB, free: 2.129 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/1.363, allocations: 3.381 MB / 0.9356 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.364, allocations: 153.7 kB / 0.9358 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00246/1.366, allocations: 3.251 MB / 0.9389 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002974/1.369, allocations: 2.714 MB / 0.9416 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002481/1.372, allocations: 1.706 MB / 0.9433 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.372, allocations: 305.1 kB / 0.9436 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.377, allocations: 2.865 MB / 0.9464 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007818/1.385, allocations: 5.75 MB / 0.952 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/1.402, allocations: 9.51 MB / 0.9613 GB, free: 2.539 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.543e-05/1.402, allocations: 24 kB / 0.9613 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03/1.432, allocations: 10.71 MB / 0.9717 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.432, allocations: 51.36 kB / 0.9718 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001487/1.432, allocations: 95.94 kB / 0.9719 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00898/1.441, allocations: 1.821 MB / 0.9737 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009856/1.451, allocations: 2.314 MB / 0.9759 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2354/1.687, allocations: 12.31 MB / 0.9879 GB, free: 291 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00659/1.693, allocations: 297.2 kB / 0.9882 GB, free: 291 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.695, allocations: 0.515 MB / 0.9887 GB, free: 291 MB / 0.7169 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.003735/1.699, allocations: 1.2 MB / 0.9899 GB, free: 290.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.7, allocations: 0.6023 MB / 0.9905 GB, free: 290.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/1.723, allocations: 10.12 MB / 1 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.161e-05/1.723, allocations: 78.22 kB / 1 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/1.723, allocations: 11.47 kB / 1 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00015/1.723, allocations: 38.86 kB / 1 GB, free: 287.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/1.756, allocations: 16.32 MB / 1.016 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/1.756, allocations: 2.906 kB / 1.016 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007126/1.763, allocations: 1.53 MB / 1.018 GB, free: 280.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007453/1.77, allocations: 1.61 MB / 1.019 GB, free: 280.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001146/1.771, allocations: 267.4 kB / 1.02 GB, free: 280.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.784, allocations: 11.56 MB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.784, allocations: 9.062 kB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02306/1.807, allocations: 12.98 MB / 1.044 GB, free: 265.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00327/1.81, allocations: 1.279 MB / 1.045 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009835/1.811, allocations: 146.5 kB / 1.045 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.814, allocations: 150.8 kB / 1.045 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008759/1.815, allocations: 0.6067 MB / 1.046 GB, free: 264.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004938/1.816, allocations: 316.8 kB / 1.046 GB, free: 264.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00238/1.818, allocations: 2.036 MB / 1.048 GB, free: 264 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.818, allocations: 7.844 kB / 1.048 GB, free: 264 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01302/1.831, allocations: 5.104 MB / 1.053 GB, free: 263.4 MB / 0.7169 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.03187/1.863, allocations: 19.16 MB / 1.072 GB, free: 251.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01365/1.877, allocations: 8.419 MB / 1.08 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.877, allocations: 0 / 1.08 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006563/1.883, allocations: 4.482 MB / 1.084 GB, free: 239 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/1.888, allocations: 1.187 MB / 1.086 GB, free: 237.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08836/1.977, allocations: 60.18 MB / 1.144 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002056/1.979, allocations: 3.182 MB / 1.147 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005553/1.984, allocations: 1.678 MB / 1.149 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003735/1.988, allocations: 3.726 MB / 1.153 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/1.988, allocations: 0 / 1.153 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7015/2.69, allocations: 223.9 MB / 1.371 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.65/45.34, allocations: 8.344 kB / 1.371 GB, free: 264.6 MB / 0.7169 GB " [Timeout remaining time 614] (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 sys.exit(0), Time elapsed: 98.52315047299635] Failed to read output from testmodel.py, exit status != 0: 45.59322593700199 45.603272851 44.611268024 Calling exit ...