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.001242/0.001242, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001392/0.001392, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.352/1.352, allocations: 230.6 MB / 256 MB, free: 8.02 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.128/0.128, allocations: 23.86 MB / 336.3 MB, free: 11.23 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.001974/0.001974, allocations: 63.91 kB / 471.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3111, allocations: 59.85 MB / 0.5191 GB, free: 9.891 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.05855/0.3696, allocations: 51.23 MB / 0.5691 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1444/0.5141, allocations: 121.5 MB / 0.6878 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005522/0.5196, allocations: 95.25 kB / 0.6879 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007042/0.5266, allocations: 2.405 MB / 0.6902 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02864/0.5553, allocations: 10.27 MB / 0.7003 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04048/0.5957, allocations: 15.77 MB / 0.7157 GB, free: 144 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.016/0.6117, allocations: 10.53 MB / 0.726 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007046/0.6188, allocations: 4.686 MB / 0.7305 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2331/0.8518, allocations: 5.432 MB / 0.7358 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.8629, allocations: 5.973 MB / 0.7417 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.8657, allocations: 0.8886 MB / 0.7425 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03683/0.9025, allocations: 13.9 MB / 0.7561 GB, free: 26.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.9061, allocations: 2.137 MB / 0.7582 GB, free: 26.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.005459/0.9116, allocations: 4.542 MB / 0.7626 GB, free: 25.7 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04353/0.9551, allocations: 24.95 MB / 0.787 GB, free: 23.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9551, allocations: 0 / 0.787 GB, free: 23.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9551, allocations: 0 / 0.787 GB, free: 23.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002389/0.9553, allocations: 0.5938 kB / 0.787 GB, free: 23.47 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.02033/0.9757, allocations: 10.65 MB / 0.7974 GB, free: 19.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.9757, allocations: 13.53 kB / 0.7974 GB, free: 19.02 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008699/0.9844, allocations: 1.947 MB / 0.7993 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006642/0.991, allocations: 3.518 MB / 0.8028 GB, free: 17.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/0.9914, allocations: 0.5774 MB / 0.8033 GB, free: 17.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.9928, allocations: 0.7362 MB / 0.804 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/1.005, allocations: 9.226 MB / 0.8131 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/1.005, allocations: 3.281 kB / 0.8131 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006457/1.006, allocations: 288 kB / 0.8133 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-05/1.006, allocations: 172 kB / 0.8135 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/1.023, allocations: 12.73 MB / 0.8259 GB, free: 15.02 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.05911/1.082, allocations: 30.14 MB / 0.8554 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03312/1.115, allocations: 17.52 MB / 0.8725 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007908/1.123, allocations: 4.096 MB / 0.8765 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04875/1.172, allocations: 20.65 MB / 0.8966 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.805e-05/1.172, allocations: 98.02 kB / 0.8967 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00243/1.174, allocations: 0.6516 MB / 0.8974 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 6.732e-06/1.174, allocations: 0 / 0.8974 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1103/1.285, allocations: 35.26 MB / 0.9318 GB, free: 3.168 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/1.285, allocations: 129.3 kB / 0.9319 GB, free: 3.027 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/1.289, allocations: 3.38 MB / 0.9352 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005555/1.29, allocations: 149.7 kB / 0.9354 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002465/1.292, allocations: 3.255 MB / 0.9385 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002509/1.295, allocations: 2.712 MB / 0.9412 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/1.297, allocations: 1.702 MB / 0.9428 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.298, allocations: 309 kB / 0.9431 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.303, allocations: 2.865 MB / 0.9459 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00767/1.31, allocations: 5.746 MB / 0.9516 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/1.325, allocations: 9.512 MB / 0.9608 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.527e-05/1.325, allocations: 28 kB / 0.9609 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02329/1.348, allocations: 10.72 MB / 0.9713 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/1.348, allocations: 46.66 kB / 0.9714 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.311e-05/1.348, allocations: 88.09 kB / 0.9715 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009192/1.358, allocations: 1.825 MB / 0.9732 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009144/1.367, allocations: 2.316 MB / 0.9755 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2239/1.591, allocations: 12.3 MB / 0.9875 GB, free: 291.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00586/1.596, allocations: 291.3 kB / 0.9878 GB, free: 291.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009021/1.597, allocations: 0.5154 MB / 0.9883 GB, free: 291.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.002469/1.6, allocations: 1.202 MB / 0.9895 GB, free: 291.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.601, allocations: 0.6062 MB / 0.9901 GB, free: 291.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/1.622, allocations: 10.12 MB / 0.9999 GB, free: 288.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.589e-05/1.622, allocations: 81.53 kB / 1 GB, free: 288.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.622, allocations: 5.156 kB / 1 GB, free: 288.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/1.622, allocations: 39.09 kB / 1 GB, free: 288.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02845/1.651, allocations: 16.33 MB / 1.016 GB, free: 281.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.651, allocations: 5.031 kB / 1.016 GB, free: 281.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007006/1.658, allocations: 1.53 MB / 1.018 GB, free: 281.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007633/1.665, allocations: 1.602 MB / 1.019 GB, free: 281.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008504/1.666, allocations: 264.3 kB / 1.019 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/1.679, allocations: 11.56 MB / 1.031 GB, free: 271.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.679, allocations: 5.219 kB / 1.031 GB, free: 271.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/1.7, allocations: 12.98 MB / 1.043 GB, free: 266.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002726/1.702, allocations: 1.269 MB / 1.045 GB, free: 265.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.703, allocations: 144.6 kB / 1.045 GB, free: 265.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/1.706, allocations: 155.5 kB / 1.045 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008512/1.707, allocations: 0.6082 MB / 1.045 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004719/1.707, allocations: 308.5 kB / 1.046 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002288/1.709, allocations: 2.042 MB / 1.048 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/1.709, allocations: 0 / 1.048 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01113/1.721, allocations: 5.105 MB / 1.053 GB, free: 264.2 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.008378/1.729, allocations: 5.71 MB / 1.058 GB, free: 262.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.741, allocations: 8.42 MB / 1.066 GB, free: 257.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.741, allocations: 4 kB / 1.066 GB, free: 257.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005642/1.746, allocations: 4.478 MB / 1.071 GB, free: 253.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.751, allocations: 1.194 MB / 1.072 GB, free: 252.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.767, allocations: 12.92 MB / 1.085 GB, free: 239.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.769, allocations: 3.188 MB / 1.088 GB, free: 236.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005734/1.775, allocations: 1.684 MB / 1.089 GB, free: 235.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002168/1.777, allocations: 1.145 MB / 1.091 GB, free: 234.2 MB / 0.7169 GB Notification: Performance of SimCode: time 8.62e-07/1.777, allocations: 0 / 1.091 GB, free: 234.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.1858/1.963, allocations: 170.1 MB / 1.257 GB, free: 64.78 MB / 0.7169 GB " [Timeout remaining time 658] 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: 13.328863258939236] Failed to read output from testmodel.py, exit status != 0: 1.9716332438401878 1.980144675 1.022756266 Calling exit ...