Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 106.8 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1029/0.1029, allocations: 15.29 MB / 312.5 MB, free: 13.32 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 67.88 kB / 433.9 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1135, allocations: 53.61 MB / 487.5 MB, free: 3.191 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.AcidBase.Dev.RedCellMembrane): time 0.4196/0.5331, allocations: 50.55 MB / 0.5255 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.686, allocations: 120.8 MB / 0.6434 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005309/0.6913, allocations: 71.62 kB / 0.6435 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007702/0.6991, allocations: 2.397 MB / 0.6458 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03543/0.7345, allocations: 10.1 MB / 0.6557 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05205/0.7866, allocations: 15.49 MB / 0.6708 GB, free: 4.992 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.01914/0.8058, allocations: 10.52 MB / 0.6811 GB, free: 10.43 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01156/0.8174, allocations: 5.514 MB / 0.6865 GB, free: 4.84 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01119/0.8286, allocations: 5.339 MB / 0.6917 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/0.8412, allocations: 5.884 MB / 0.6974 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.004408/0.8457, allocations: 0.8828 MB / 0.6983 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05241/0.8981, allocations: 13.73 MB / 0.7117 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004392/0.9025, allocations: 2.115 MB / 0.7138 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008753/0.9113, allocations: 4.539 MB / 0.7182 GB, free: 4.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3749/1.286, allocations: 24.33 MB / 0.742 GB, free: 34.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.286, allocations: 0 / 0.742 GB, free: 34.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.397e-06/1.286, allocations: 1.188 kB / 0.742 GB, free: 34.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0006898/1.287, allocations: 1.203 kB / 0.742 GB, free: 34.44 MB / 0.545 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.04112/1.328, allocations: 10.76 MB / 0.7525 GB, free: 29.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.328, allocations: 12.83 kB / 0.7525 GB, free: 29.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/1.34, allocations: 1.948 MB / 0.7544 GB, free: 29.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009184/1.349, allocations: 3.571 MB / 0.7579 GB, free: 28.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006098/1.35, allocations: 0.5504 MB / 0.7584 GB, free: 28.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003523/1.353, allocations: 0.7435 MB / 0.7591 GB, free: 28.55 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02905/1.382, allocations: 9.182 MB / 0.7681 GB, free: 28.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003907/1.383, allocations: 3.469 kB / 0.7681 GB, free: 28.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003239/1.386, allocations: 290.4 kB / 0.7684 GB, free: 28.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/1.386, allocations: 173.6 kB / 0.7685 GB, free: 28.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/1.411, allocations: 12.65 MB / 0.7809 GB, free: 27.95 MB / 0.545 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.07142/1.482, allocations: 30.15 MB / 0.8103 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03305/1.515, allocations: 20.42 MB / 0.8303 GB, free: 12.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009992/1.525, allocations: 4.712 MB / 0.8349 GB, free: 7.895 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06805/1.594, allocations: 36.49 MB / 0.8705 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/1.594, allocations: 93.91 kB / 0.8706 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003286/1.597, allocations: 0.5985 MB / 0.8712 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 2.131e-05/1.597, allocations: 0 / 0.8712 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.1561/1.753, allocations: 35.65 MB / 0.906 GB, free: 11.78 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/1.753, allocations: 129.3 kB / 0.9061 GB, free: 11.64 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008211/1.762, allocations: 3.386 MB / 0.9094 GB, free: 8.25 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001952/1.764, allocations: 149.7 kB / 0.9096 GB, free: 8.098 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003614/1.767, allocations: 3.257 MB / 0.9127 GB, free: 4.848 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.004811/1.772, allocations: 2.71 MB / 0.9154 GB, free: 2.172 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0034/1.775, allocations: 1.702 MB / 0.9171 GB, free: 468 kB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.776, allocations: 312.4 kB / 0.9174 GB, free: 156 kB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005882/1.781, allocations: 2.854 MB / 0.9201 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009326/1.791, allocations: 5.741 MB / 0.9257 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01937/1.81, allocations: 9.495 MB / 0.935 GB, free: 12.04 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/1.81, allocations: 24 kB / 0.935 GB, free: 12.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03248/1.843, allocations: 10.73 MB / 0.9455 GB, free: 1.789 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/1.843, allocations: 47.47 kB / 0.9456 GB, free: 1.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.843, allocations: 92 kB / 0.9457 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009585/1.853, allocations: 1.81 MB / 0.9474 GB, free: 15.83 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01164/1.865, allocations: 2.317 MB / 0.9497 GB, free: 13.66 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/1.885, allocations: 12.81 MB / 0.9622 GB, free: 244 kB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3607/2.246, allocations: 287.6 kB / 0.9625 GB, free: 302.6 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00269/2.248, allocations: 0.5184 MB / 0.963 GB, free: 302.6 MB / 0.6857 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.00488/2.253, allocations: 1.198 MB / 0.9641 GB, free: 302.5 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/2.255, allocations: 0.6018 MB / 0.9647 GB, free: 302.5 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02572/2.281, allocations: 10.13 MB / 0.9746 GB, free: 301.9 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-05/2.281, allocations: 79.8 kB / 0.9747 GB, free: 301.9 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-05/2.281, allocations: 12.77 kB / 0.9747 GB, free: 301.9 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00015/2.281, allocations: 37.55 kB / 0.9748 GB, free: 301.9 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03553/2.317, allocations: 16.33 MB / 0.9907 GB, free: 295.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.172e-05/2.317, allocations: 3.938 kB / 0.9907 GB, free: 295.2 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008033/2.325, allocations: 1.529 MB / 0.9922 GB, free: 295.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008046/2.333, allocations: 1.606 MB / 0.9938 GB, free: 294.8 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002011/2.335, allocations: 263.3 kB / 0.994 GB, free: 294.6 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/2.349, allocations: 12.08 MB / 1.006 GB, free: 284.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.349, allocations: 11.84 kB / 1.006 GB, free: 284.7 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03038/2.38, allocations: 12.98 MB / 1.018 GB, free: 279.4 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004444/2.384, allocations: 1.331 MB / 1.02 GB, free: 278.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002623/2.387, allocations: 160.4 kB / 1.02 GB, free: 278.6 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/2.392, allocations: 154 kB / 1.02 GB, free: 278.5 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001899/2.394, allocations: 0.5731 MB / 1.021 GB, free: 278.4 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001419/2.395, allocations: 316.9 kB / 1.021 GB, free: 278.3 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.004085/2.399, allocations: 2.039 MB / 1.023 GB, free: 276.9 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.7e-07/2.399, allocations: 0 / 1.023 GB, free: 276.9 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.02301/2.422, allocations: 5.111 MB / 1.028 GB, free: 272.8 MB / 0.6857 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.02167/2.444, allocations: 5.608 MB / 1.033 GB, free: 268.2 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.464, allocations: 9.003 MB / 1.042 GB, free: 259.2 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/2.464, allocations: 2.656 kB / 1.042 GB, free: 259.2 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009913/2.474, allocations: 4.887 MB / 1.047 GB, free: 254.2 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.485, allocations: 1.188 MB / 1.048 GB, free: 253.1 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/2.511, allocations: 12.92 MB / 1.061 GB, free: 240.3 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002108/2.513, allocations: 3.179 MB / 1.064 GB, free: 237.1 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.006329/2.519, allocations: 1.665 MB / 1.065 GB, free: 236 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/2.522, allocations: 1.143 MB / 1.067 GB, free: 234.8 MB / 0.6857 GB Notification: Performance of SimCode: time 1.493e-06/2.522, allocations: 0 / 1.067 GB, free: 234.8 MB / 0.6857 GB Notification: Performance of Templates: time 0.208/2.73, allocations: 163.2 MB / 1.226 GB, free: 72.27 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.260187558829784]