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.001287/0.001287, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001374/0.001374, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.1436/0.1436, allocations: 23.86 MB / 333.4 MB, free: 1.184 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="cs",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.001936/0.001936, allocations: 75.84 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1013, allocations: 59.83 MB / 0.5142 GB, free: 12.91 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.06506/0.1664, allocations: 50.89 MB / 0.5639 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.384/0.5505, allocations: 121.2 MB / 0.6823 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005055/0.5555, allocations: 103.2 kB / 0.6824 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007433/0.5629, allocations: 2.403 MB / 0.6848 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03171/0.5946, allocations: 10.19 MB / 0.6947 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0441/0.6388, allocations: 15.62 MB / 0.71 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.6546, allocations: 10.55 MB / 0.7203 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007849/0.6625, allocations: 4.695 MB / 0.7249 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009077/0.6716, allocations: 5.437 MB / 0.7302 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01088/0.6824, allocations: 5.966 MB / 0.736 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003439/0.6859, allocations: 0.8945 MB / 0.7369 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04594/0.7318, allocations: 13.9 MB / 0.7504 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.7358, allocations: 2.134 MB / 0.7525 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008124/0.7439, allocations: 4.547 MB / 0.757 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06241/0.8063, allocations: 24.95 MB / 0.7813 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8063, allocations: 3.938 kB / 0.7813 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8063, allocations: 0 / 0.7813 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004028/0.8067, allocations: 0 / 0.7813 GB, free: 14.88 MB / 0.5762 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.02667/0.8334, allocations: 10.73 MB / 0.7918 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8334, allocations: 8.031 kB / 0.7918 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000172/0.8336, allocations: 186.4 kB / 0.792 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001649/0.8352, allocations: 0.9033 MB / 0.7929 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.8459, allocations: 1.953 MB / 0.7948 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00843/0.8544, allocations: 3.625 MB / 0.7983 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006352/0.855, allocations: 0.5513 MB / 0.7989 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002398/0.8574, allocations: 0.7359 MB / 0.7996 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.878, allocations: 9.201 MB / 0.8086 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.8782, allocations: 7.938 kB / 0.8086 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009988/0.8792, allocations: 284 kB / 0.8088 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/0.8793, allocations: 172 kB / 0.809 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02606/0.9054, allocations: 12.71 MB / 0.8214 GB, free: 5.48 MB / 0.6075 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.4933/1.399, allocations: 30.31 MB / 0.851 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03111/1.43, allocations: 19.83 MB / 0.8704 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007319/1.437, allocations: 4.091 MB / 0.8744 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05022/1.487, allocations: 36.63 MB / 0.9102 GB, free: 149.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/1.487, allocations: 93.09 kB / 0.9102 GB, free: 149.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002462/1.49, allocations: 0.658 MB / 0.9109 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 1.475e-05/1.49, allocations: 0 / 0.9109 GB, free: 148.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.1081/1.598, allocations: 35.59 MB / 0.9456 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.598, allocations: 138 kB / 0.9458 GB, free: 113.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.601, allocations: 3.384 MB / 0.9491 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0008593/1.602, allocations: 153.7 kB / 0.9492 GB, free: 110 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.604, allocations: 3.248 MB / 0.9524 GB, free: 107.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.605, allocations: 2.717 MB / 0.955 GB, free: 104.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/1.607, allocations: 1.702 MB / 0.9567 GB, free: 103.1 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.682e-05/1.607, allocations: 305.1 kB / 0.957 GB, free: 102.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.611, allocations: 2.856 MB / 0.9598 GB, free: 99.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/1.617, allocations: 5.746 MB / 0.9654 GB, free: 92.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.629, allocations: 9.484 MB / 0.9747 GB, free: 82.08 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.526e-05/1.629, allocations: 31.94 kB / 0.9747 GB, free: 82.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.023/1.652, allocations: 10.7 MB / 0.9851 GB, free: 71.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/1.652, allocations: 44 kB / 0.9852 GB, free: 71.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/1.652, allocations: 96.38 kB / 0.9853 GB, free: 71.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008736/1.661, allocations: 1.815 MB / 0.987 GB, free: 69.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009862/1.671, allocations: 2.313 MB / 0.9893 GB, free: 67.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/1.686, allocations: 12.82 MB / 1.002 GB, free: 53.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006209/1.693, allocations: 300 kB / 1.002 GB, free: 53.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.694, allocations: 0.5194 MB / 1.003 GB, free: 52.68 MB / 0.6075 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.002452/1.696, allocations: 1.201 MB / 1.004 GB, free: 51.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.698, allocations: 0.6014 MB / 1.004 GB, free: 50.92 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/1.719, allocations: 10.1 MB / 1.014 GB, free: 40.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/1.719, allocations: 80 kB / 1.014 GB, free: 40.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/1.719, allocations: 10.61 kB / 1.014 GB, free: 40.81 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001678/1.72, allocations: 39.84 kB / 1.014 GB, free: 40.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0326/1.752, allocations: 16.32 MB / 1.03 GB, free: 24.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/1.752, allocations: 0 / 1.03 GB, free: 24.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007825/1.76, allocations: 1.537 MB / 1.032 GB, free: 22.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008018/1.768, allocations: 1.596 MB / 1.033 GB, free: 21.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0015/1.77, allocations: 263.9 kB / 1.034 GB, free: 21.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.783, allocations: 12.07 MB / 1.045 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.783, allocations: 7.938 kB / 1.045 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2506/2.033, allocations: 12.94 MB / 1.058 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003511/2.037, allocations: 1.346 MB / 1.059 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/2.038, allocations: 145.9 kB / 1.06 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/2.042, allocations: 154 kB / 1.06 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.043, allocations: 0.5787 MB / 1.06 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000711/2.044, allocations: 315.9 kB / 1.061 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003133/2.047, allocations: 2.038 MB / 1.063 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.047, allocations: 0 / 1.063 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0145/2.061, allocations: 5.106 MB / 1.067 GB, free: 187.6 MB / 0.6075 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.03626/2.098, allocations: 19.12 MB / 1.086 GB, free: 181 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.113, allocations: 8.403 MB / 1.094 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/2.113, allocations: 1.688 kB / 1.094 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007988/2.121, allocations: 4.479 MB / 1.099 GB, free: 175.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007111/2.128, allocations: 1.193 MB / 1.1 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09736/2.226, allocations: 60.1 MB / 1.159 GB, free: 120.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002369/2.228, allocations: 3.176 MB / 1.162 GB, free: 117.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006364/2.234, allocations: 1.681 MB / 1.163 GB, free: 115.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004484/2.239, allocations: 3.722 MB / 1.167 GB, free: 112.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/2.239, allocations: 3.938 kB / 1.167 GB, free: 112.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5778/2.817, allocations: 219.5 MB / 1.381 GB, free: 137.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.21/49.03, allocations: 11.94 kB / 1.381 GB, free: 137.3 MB / 0.6232 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.16496665100567] Failed to read output from testmodel.py, exit status != 0: 49.31986436602892 49.337719801 48.527717807 Calling exit ...