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.001338/0.001338, allocations: 116.4 kB / 17.13 MB, free: 6.004 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.001387/0.001387, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1408/0.1408, allocations: 23.85 MB / 333.4 MB, free: 1.195 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: 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.002052/0.002052, allocations: 65.19 kB / 467.2 MB, free: 30.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1105, allocations: 59.83 MB / 0.5147 GB, free: 12.41 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.0681/0.1786, allocations: 50.87 MB / 0.5644 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.411/0.5895, allocations: 121.3 MB / 0.6828 GB, free: 4.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005965/0.5955, allocations: 99.19 kB / 0.6829 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008174/0.6037, allocations: 2.404 MB / 0.6852 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03407/0.6377, allocations: 10.19 MB / 0.6952 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04864/0.6864, allocations: 15.61 MB / 0.7104 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01848/0.7049, allocations: 10.56 MB / 0.7207 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007935/0.7128, allocations: 4.687 MB / 0.7253 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/0.7233, allocations: 5.437 MB / 0.7306 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.735, allocations: 5.974 MB / 0.7364 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.004009/0.7391, allocations: 0.8828 MB / 0.7373 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05531/0.7944, allocations: 13.9 MB / 0.7509 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004308/0.7987, allocations: 2.138 MB / 0.753 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009506/0.8082, allocations: 4.543 MB / 0.7574 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07532/0.8835, allocations: 24.95 MB / 0.7818 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.8835, allocations: 0 / 0.7818 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8835, allocations: 4 kB / 0.7818 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005063/0.884, allocations: 0 / 0.7818 GB, free: 14.79 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.03411/0.9181, allocations: 10.72 MB / 0.7923 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.9182, allocations: 12.03 kB / 0.7923 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.9318, allocations: 1.949 MB / 0.7942 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.9427, allocations: 3.623 MB / 0.7977 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008543/0.9435, allocations: 0.5513 MB / 0.7982 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003628/0.9471, allocations: 0.7383 MB / 0.799 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.9775, allocations: 9.213 MB / 0.808 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/0.9779, allocations: 4 kB / 0.808 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002565/0.9804, allocations: 288 kB / 0.8082 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000185/0.9806, allocations: 172 kB / 0.8084 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/1.013, allocations: 12.7 MB / 0.8208 GB, free: 6.469 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.5683/1.581, allocations: 30.31 MB / 0.8504 GB, free: 191.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03546/1.617, allocations: 19.83 MB / 0.8698 GB, free: 183.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008319/1.625, allocations: 4.088 MB / 0.8738 GB, free: 181.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04992/1.675, allocations: 36.64 MB / 0.9096 GB, free: 149.9 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/1.675, allocations: 95.31 kB / 0.9096 GB, free: 149.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002426/1.678, allocations: 0.6526 MB / 0.9103 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 1.236e-05/1.678, allocations: 0 / 0.9103 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.1104/1.788, allocations: 35.59 MB / 0.945 GB, free: 114.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/1.788, allocations: 129.3 kB / 0.9452 GB, free: 114.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/1.792, allocations: 3.387 MB / 0.9485 GB, free: 111.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001305/1.793, allocations: 145.7 kB / 0.9486 GB, free: 111.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.795, allocations: 3.252 MB / 0.9518 GB, free: 108.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002638/1.798, allocations: 2.709 MB / 0.9544 GB, free: 105.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/1.8, allocations: 1.706 MB / 0.9561 GB, free: 104.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.188e-05/1.8, allocations: 305.1 kB / 0.9564 GB, free: 103.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.804, allocations: 2.857 MB / 0.9592 GB, free: 101 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/1.81, allocations: 5.734 MB / 0.9648 GB, free: 94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/1.823, allocations: 9.492 MB / 0.974 GB, free: 83.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.89e-05/1.823, allocations: 24 kB / 0.9741 GB, free: 83.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02458/1.848, allocations: 10.72 MB / 0.9845 GB, free: 72.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/1.848, allocations: 44 kB / 0.9846 GB, free: 72.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.988e-05/1.848, allocations: 97.36 kB / 0.9847 GB, free: 72.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008885/1.857, allocations: 1.811 MB / 0.9864 GB, free: 70.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/1.867, allocations: 2.316 MB / 0.9887 GB, free: 68.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.883, allocations: 12.82 MB / 1.001 GB, free: 54.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007364/1.89, allocations: 288 kB / 1.001 GB, free: 54.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/1.892, allocations: 0.5194 MB / 1.002 GB, free: 53.79 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.004575/1.897, allocations: 1.206 MB / 1.003 GB, free: 52.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00248/1.899, allocations: 0.6015 MB / 1.004 GB, free: 52.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02396/1.923, allocations: 10.09 MB / 1.014 GB, free: 42.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-05/1.923, allocations: 87.98 kB / 1.014 GB, free: 41.92 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.923, allocations: 4 kB / 1.014 GB, free: 41.92 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001292/1.923, allocations: 43.78 kB / 1.014 GB, free: 41.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/1.958, allocations: 16.31 MB / 1.03 GB, free: 25.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/1.958, allocations: 8.094 kB / 1.03 GB, free: 25.58 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007841/1.966, allocations: 1.525 MB / 1.031 GB, free: 24.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008134/1.974, allocations: 1.594 MB / 1.033 GB, free: 22.44 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001709/1.975, allocations: 271.8 kB / 1.033 GB, free: 22.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.99, allocations: 12.08 MB / 1.045 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.99, allocations: 7.938 kB / 1.045 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3097/2.299, allocations: 12.94 MB / 1.057 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00427/2.304, allocations: 1.34 MB / 1.059 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00212/2.306, allocations: 148 kB / 1.059 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004926/2.311, allocations: 155.3 kB / 1.059 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00206/2.313, allocations: 0.5763 MB / 1.06 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001525/2.314, allocations: 314.2 kB / 1.06 GB, free: 188.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004732/2.319, allocations: 2.041 MB / 1.062 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 5.01e-07/2.319, allocations: 0 / 1.062 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01798/2.337, allocations: 5.11 MB / 1.067 GB, free: 187.7 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.01438/2.351, allocations: 5.709 MB / 1.072 GB, free: 186.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02563/2.377, allocations: 8.402 MB / 1.081 GB, free: 183.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/2.377, allocations: 0 / 1.081 GB, free: 183.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.01401/2.391, allocations: 4.481 MB / 1.085 GB, free: 181.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01048/2.401, allocations: 1.194 MB / 1.086 GB, free: 181.1 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/2.434, allocations: 13.02 MB / 1.099 GB, free: 174.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/2.437, allocations: 3.177 MB / 1.102 GB, free: 174 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00426/2.441, allocations: 1.448 MB / 1.103 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of SimCode: time 9.92e-07/2.441, allocations: 0 / 1.103 GB, free: 173.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.549/2.99, allocations: 287.5 MB / 1.384 GB, free: 131.1 MB / 0.6232 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 os._exit(0), Time elapsed: 21.951255471009063] Failed to read output from testmodel.py, exit status != 0: 2.9992963479890022 3.00789787 2.121925499 Calling exit ...