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.00154/0.00154, allocations: 103 kB / 16.45 MB, free: 6.449 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.001488/0.001488, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.44/1.44, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.1399/0.1399, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002308/0.002308, allocations: 71.88 kB / 466 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.342, allocations: 59.81 MB / 0.5135 GB, free: 8.883 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.06958/0.4116, allocations: 51.09 MB / 0.5634 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1596/0.5712, allocations: 121.3 MB / 0.6818 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006299/0.5775, allocations: 99.25 kB / 0.6819 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008048/0.5855, allocations: 2.408 MB / 0.6843 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03077/0.6163, allocations: 10.18 MB / 0.6942 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04546/0.6617, allocations: 15.62 MB / 0.7095 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01734/0.6791, allocations: 10.54 MB / 0.7198 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008427/0.6875, allocations: 4.698 MB / 0.7243 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2582/0.9457, allocations: 5.422 MB / 0.7296 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/0.9568, allocations: 5.975 MB / 0.7355 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004413/0.9612, allocations: 0.8858 MB / 0.7363 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04684/1.008, allocations: 13.91 MB / 0.7499 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006588/1.015, allocations: 2.132 MB / 0.752 GB, free: 25.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01066/1.025, allocations: 4.55 MB / 0.7564 GB, free: 24.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05652/1.082, allocations: 24.95 MB / 0.7808 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/1.082, allocations: 5.156 kB / 0.7808 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.114e-06/1.082, allocations: 0 / 0.7808 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000506/1.082, allocations: 0 / 0.7808 GB, free: 22.16 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.02512/1.107, allocations: 10.72 MB / 0.7913 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.107, allocations: 12.62 kB / 0.7913 GB, free: 17.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001768/1.109, allocations: 0.9033 MB / 0.7922 GB, free: 17.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.12, allocations: 1.947 MB / 0.7941 GB, free: 17.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007691/1.127, allocations: 3.619 MB / 0.7976 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004647/1.128, allocations: 0.5527 MB / 0.7982 GB, free: 16.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/1.13, allocations: 0.7377 MB / 0.7989 GB, free: 16.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.147, allocations: 9.214 MB / 0.8079 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/1.148, allocations: 3.938 kB / 0.8079 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008291/1.148, allocations: 286.1 kB / 0.8082 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.624e-05/1.148, allocations: 172.7 kB / 0.8083 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/1.169, allocations: 12.71 MB / 0.8207 GB, free: 15.86 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.06715/1.236, allocations: 30.32 MB / 0.8503 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04112/1.277, allocations: 19.83 MB / 0.8697 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009588/1.286, allocations: 4.087 MB / 0.8737 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07042/1.357, allocations: 36.63 MB / 0.9095 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/1.357, allocations: 93.81 kB / 0.9096 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003284/1.36, allocations: 0.6508 MB / 0.9102 GB, free: 15.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=581): time 1.419e-05/1.36, allocations: 0 / 0.9102 GB, free: 15.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=757): time 0.1399/1.5, allocations: 35.6 MB / 0.945 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.5, allocations: 132.9 kB / 0.9451 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/1.507, allocations: 3.384 MB / 0.9484 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001629/1.508, allocations: 145.7 kB / 0.9485 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003025/1.511, allocations: 3.256 MB / 0.9517 GB, free: 5.605 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.003956/1.515, allocations: 2.712 MB / 0.9544 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004574/1.52, allocations: 1.702 MB / 0.956 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.52, allocations: 305.1 kB / 0.9563 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005777/1.526, allocations: 2.861 MB / 0.9591 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.535, allocations: 5.738 MB / 0.9647 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2784/1.813, allocations: 9.486 MB / 0.974 GB, free: 296.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.838e-05/1.813, allocations: 26.19 kB / 0.974 GB, free: 296.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02835/1.842, allocations: 10.71 MB / 0.9845 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.048e-05/1.842, allocations: 50.91 kB / 0.9845 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000124/1.842, allocations: 90.19 kB / 0.9846 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009782/1.851, allocations: 1.809 MB / 0.9864 GB, free: 294.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/1.863, allocations: 2.31 MB / 0.9886 GB, free: 294.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/1.88, allocations: 12.82 MB / 1.001 GB, free: 284 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/1.888, allocations: 295.5 kB / 1.001 GB, free: 283.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/1.89, allocations: 0.5189 MB / 1.002 GB, free: 283.8 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.00436/1.895, allocations: 1.204 MB / 1.003 GB, free: 283 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/1.897, allocations: 0.6006 MB / 1.004 GB, free: 283 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02567/1.923, allocations: 10.1 MB / 1.014 GB, free: 279.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.025e-05/1.923, allocations: 74.53 kB / 1.014 GB, free: 279.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/1.923, allocations: 12.89 kB / 1.014 GB, free: 279.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001749/1.923, allocations: 37.5 kB / 1.014 GB, free: 279.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/1.956, allocations: 16.32 MB / 1.03 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.272e-05/1.956, allocations: 3.719 kB / 1.03 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007995/1.964, allocations: 1.53 MB / 1.031 GB, free: 272.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008248/1.972, allocations: 1.593 MB / 1.033 GB, free: 271.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001356/1.973, allocations: 269.3 kB / 1.033 GB, free: 271.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.987, allocations: 12.09 MB / 1.045 GB, free: 261.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.987, allocations: 4.828 kB / 1.045 GB, free: 261.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02333/2.011, allocations: 12.95 MB / 1.057 GB, free: 256.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/2.014, allocations: 1.345 MB / 1.059 GB, free: 255.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009894/2.015, allocations: 150.6 kB / 1.059 GB, free: 255 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/2.018, allocations: 151.8 kB / 1.059 GB, free: 254.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009889/2.019, allocations: 0.5801 MB / 1.06 GB, free: 254.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005419/2.02, allocations: 313.9 kB / 1.06 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002387/2.022, allocations: 2.038 MB / 1.062 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.022, allocations: 0 / 1.062 GB, free: 252.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01456/2.036, allocations: 5.113 MB / 1.067 GB, free: 248.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.03424/2.071, allocations: 19.13 MB / 1.086 GB, free: 230.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01451/2.085, allocations: 8.393 MB / 1.094 GB, free: 222 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.085, allocations: 4 kB / 1.094 GB, free: 222 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007065/2.092, allocations: 4.483 MB / 1.098 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005639/2.098, allocations: 1.189 MB / 1.099 GB, free: 216.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08789/2.186, allocations: 60.11 MB / 1.158 GB, free: 152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/2.188, allocations: 3.176 MB / 1.161 GB, free: 148.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006602/2.194, allocations: 1.675 MB / 1.163 GB, free: 147.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004445/2.199, allocations: 3.726 MB / 1.166 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.203e-06/2.199, allocations: 0 / 1.166 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5655/2.764, allocations: 219.5 MB / 1.381 GB, free: 261 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.35/49.11, allocations: 14.34 kB / 1.381 GB, free: 261 MB / 0.7169 GB " [Timeout remaining time 611] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 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: 52.066595719894394] Failed to read output from testmodel.py, exit status != 0: 49.33950244099833 49.352850665 48.267735626 Calling exit ...