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.001704/0.001704, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002014/0.002014, allocations: 213.8 kB / 22.3 MB, free: 5.277 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.582/1.582, allocations: 230.6 MB / 256.1 MB, free: 7.793 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.1561/0.1561, allocations: 23.89 MB / 336.4 MB, free: 10.92 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: translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [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.003849/0.003849, allocations: 75.88 kB / 471.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3715, allocations: 59.85 MB / 0.5192 GB, free: 9.828 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.09807/0.4696, allocations: 47.04 MB / 0.5651 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1478/0.6174, allocations: 106.1 MB / 0.6687 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007148/0.6246, allocations: 99.25 kB / 0.6688 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009471/0.634, allocations: 2.159 MB / 0.6709 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03746/0.6715, allocations: 10.17 MB / 0.6809 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04411/0.7156, allocations: 15.78 MB / 0.6963 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01696/0.7326, allocations: 10.54 MB / 0.7066 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00762/0.7402, allocations: 4.614 MB / 0.7111 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01068/0.7509, allocations: 5.441 MB / 0.7164 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01136/0.7622, allocations: 5.36 MB / 0.7216 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004007/0.7662, allocations: 0.8828 MB / 0.7225 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3584/1.125, allocations: 13.03 MB / 0.7352 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004219/1.129, allocations: 2.137 MB / 0.7373 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01219/1.141, allocations: 3.879 MB / 0.7411 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.06517/1.206, allocations: 24.86 MB / 0.7654 GB, free: 36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.206, allocations: 3.219 kB / 0.7654 GB, free: 36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/1.206, allocations: 0 / 0.7654 GB, free: 36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004444/1.207, allocations: 0.5 kB / 0.7654 GB, free: 36 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.02655/1.233, allocations: 10.62 MB / 0.7757 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/1.233, allocations: 13.64 kB / 0.7757 GB, free: 31.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/1.244, allocations: 1.948 MB / 0.7776 GB, free: 31.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008808/1.253, allocations: 3.515 MB / 0.7811 GB, free: 30.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00063/1.253, allocations: 0.5793 MB / 0.7816 GB, free: 30.19 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/1.257, allocations: 0.7385 MB / 0.7824 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02563/1.282, allocations: 9.221 MB / 0.7914 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/1.283, allocations: 6.406 kB / 0.7914 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002624/1.285, allocations: 284.8 kB / 0.7916 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/1.285, allocations: 177.5 kB / 0.7918 GB, free: 29.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/1.311, allocations: 12.58 MB / 0.8041 GB, free: 29.05 MB / 0.5606 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.05461/1.366, allocations: 24.09 MB / 0.8276 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03313/1.399, allocations: 17.1 MB / 0.8443 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009901/1.409, allocations: 4.101 MB / 0.8483 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06227/1.471, allocations: 19.52 MB / 0.8674 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.931e-05/1.471, allocations: 93.81 kB / 0.8675 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003529/1.475, allocations: 0.6272 MB / 0.8681 GB, free: 6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.845e-05/1.475, allocations: 4 kB / 0.8681 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1264/1.601, allocations: 35.25 MB / 0.9025 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.601, allocations: 129.3 kB / 0.9026 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/1.606, allocations: 3.281 MB / 0.9059 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/1.607, allocations: 157.2 kB / 0.906 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002538/1.61, allocations: 3.241 MB / 0.9092 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003315/1.613, allocations: 2.71 MB / 0.9118 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/1.616, allocations: 1.702 MB / 0.9135 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.616, allocations: 309.1 kB / 0.9138 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/1.621, allocations: 2.861 MB / 0.9166 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008041/1.629, allocations: 5.753 MB / 0.9222 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01515/1.644, allocations: 9.508 MB / 0.9315 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.509e-05/1.644, allocations: 27.94 kB / 0.9315 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02482/1.669, allocations: 10.7 MB / 0.9419 GB, free: 9.219 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.669, allocations: 44 kB / 0.942 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/1.669, allocations: 92 kB / 0.9421 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009105/1.678, allocations: 1.817 MB / 0.9438 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/1.689, allocations: 2.318 MB / 0.9461 GB, free: 5.105 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/1.709, allocations: 12.09 MB / 0.9579 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00776/1.717, allocations: 296 kB / 0.9582 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/1.719, allocations: 0.5194 MB / 0.9587 GB, free: 7.781 MB / 0.6856 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.004105/1.723, allocations: 1.198 MB / 0.9599 GB, free: 6.719 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/1.725, allocations: 0.5744 MB / 0.9604 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0243/1.75, allocations: 10.1 MB / 0.9703 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.854e-05/1.75, allocations: 84 kB / 0.9704 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.75, allocations: 7.984 kB / 0.9704 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/1.75, allocations: 35.86 kB / 0.9704 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4153/2.165, allocations: 14.6 MB / 0.9847 GB, free: 287.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-05/2.165, allocations: 3.844 kB / 0.9847 GB, free: 287.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009209/2.174, allocations: 1.529 MB / 0.9862 GB, free: 287.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008574/2.183, allocations: 1.598 MB / 0.9877 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002038/2.185, allocations: 268.1 kB / 0.988 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/2.2, allocations: 11.34 MB / 0.9991 GB, free: 279.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.2, allocations: 3.75 kB / 0.9991 GB, free: 279.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03853/2.238, allocations: 12.95 MB / 1.012 GB, free: 274.6 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005514/2.244, allocations: 1.242 MB / 1.013 GB, free: 274.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002269/2.246, allocations: 155.3 kB / 1.013 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005124/2.251, allocations: 151.9 kB / 1.013 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001976/2.253, allocations: 0.6017 MB / 1.014 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00116/2.255, allocations: 316.1 kB / 1.014 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003385/2.258, allocations: 1.865 MB / 1.016 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/2.258, allocations: 0 / 1.016 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01833/2.276, allocations: 5.103 MB / 1.021 GB, free: 272.7 MB / 0.7012 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.01637/2.293, allocations: 5.704 MB / 1.026 GB, free: 271.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01816/2.311, allocations: 8.415 MB / 1.035 GB, free: 268.2 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/2.311, allocations: 0 / 1.035 GB, free: 268.2 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01023/2.321, allocations: 4.492 MB / 1.039 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009112/2.33, allocations: 1.177 MB / 1.04 GB, free: 265.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02677/2.357, allocations: 12.89 MB / 1.053 GB, free: 253.2 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/2.36, allocations: 2.707 MB / 1.055 GB, free: 251.3 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00805/2.368, allocations: 1.652 MB / 1.057 GB, free: 250.4 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00276/2.371, allocations: 1.139 MB / 1.058 GB, free: 249.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.032e-06/2.371, allocations: 0 / 1.058 GB, free: 249.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.198/2.569, allocations: 163.6 MB / 1.218 GB, free: 89.27 MB / 0.7012 GB " [Timeout remaining time 657] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.131091875955462] Failed to read output from testmodel.py, exit status != 0: 2.5818800814449787 2.58816884 1.379326143 Calling exit ...