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.001284/0.001284, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001477/0.001477, allocations: 211 kB / 22.98 MB, free: 4.984 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.88 MB / 337.1 MB, free: 10.98 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.002048/0.002048, allocations: 63.91 kB / 472.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.303, allocations: 59.86 MB / 0.5198 GB, free: 9.809 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.0947/0.3977, allocations: 46.92 MB / 0.5656 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1418/0.5395, allocations: 106.1 MB / 0.6692 GB, free: 448 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00641/0.5459, allocations: 95.25 kB / 0.6693 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0078/0.5537, allocations: 2.159 MB / 0.6714 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03252/0.5862, allocations: 10.18 MB / 0.6814 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04448/0.6307, allocations: 15.77 MB / 0.6968 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01786/0.6486, allocations: 10.54 MB / 0.707 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007662/0.6562, allocations: 4.698 MB / 0.7116 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008639/0.6649, allocations: 5.449 MB / 0.717 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/0.675, allocations: 5.966 MB / 0.7228 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.6772, allocations: 0.8828 MB / 0.7236 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2858/0.963, allocations: 13.38 MB / 0.7367 GB, free: 37.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003505/0.9665, allocations: 2.137 MB / 0.7388 GB, free: 37.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008849/0.9754, allocations: 3.879 MB / 0.7426 GB, free: 37.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05392/1.029, allocations: 24.86 MB / 0.7669 GB, free: 35.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.029, allocations: 0 / 0.7669 GB, free: 35.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/1.029, allocations: 0 / 0.7669 GB, free: 35.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003796/1.03, allocations: 0 / 0.7669 GB, free: 35.79 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.02833/1.058, allocations: 10.62 MB / 0.7772 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.058, allocations: 9.5 kB / 0.7772 GB, free: 31.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/1.068, allocations: 1.949 MB / 0.7791 GB, free: 30.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007688/1.076, allocations: 3.521 MB / 0.7826 GB, free: 30.06 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/1.076, allocations: 0.5781 MB / 0.7832 GB, free: 29.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/1.078, allocations: 0.7389 MB / 0.7839 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/1.092, allocations: 9.219 MB / 0.7929 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/1.092, allocations: 3.5 kB / 0.7929 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007334/1.093, allocations: 290.8 kB / 0.7932 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/1.093, allocations: 172.8 kB / 0.7933 GB, free: 29.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/1.111, allocations: 12.58 MB / 0.8056 GB, free: 29.14 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.04488/1.155, allocations: 24.09 MB / 0.8291 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0288/1.184, allocations: 17.1 MB / 0.8458 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008152/1.192, allocations: 4.095 MB / 0.8498 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05272/1.245, allocations: 19.51 MB / 0.8689 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.707e-05/1.245, allocations: 94.59 kB / 0.869 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002767/1.248, allocations: 0.6197 MB / 0.8696 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.099e-05/1.248, allocations: 0 / 0.8696 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1216/1.37, allocations: 35.27 MB / 0.904 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/1.37, allocations: 129.3 kB / 0.9041 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/1.374, allocations: 3.274 MB / 0.9073 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008376/1.375, allocations: 153.6 kB / 0.9075 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.378, allocations: 3.242 MB / 0.9106 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002933/1.381, allocations: 2.713 MB / 0.9133 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002664/1.383, allocations: 1.702 MB / 0.915 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.383, allocations: 307.8 kB / 0.9153 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005307/1.389, allocations: 2.865 MB / 0.9181 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008054/1.397, allocations: 5.748 MB / 0.9237 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/1.412, allocations: 9.509 MB / 0.933 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-05/1.412, allocations: 24 kB / 0.933 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02629/1.439, allocations: 10.7 MB / 0.9434 GB, free: 8.637 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/1.439, allocations: 44 kB / 0.9435 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001092/1.439, allocations: 92.91 kB / 0.9436 GB, free: 8.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/1.449, allocations: 1.823 MB / 0.9453 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/1.46, allocations: 2.322 MB / 0.9476 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/1.48, allocations: 12.09 MB / 0.9594 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/1.487, allocations: 288 kB / 0.9597 GB, free: 7.711 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001451/1.489, allocations: 0.5194 MB / 0.9602 GB, free: 7.191 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.003253/1.492, allocations: 1.196 MB / 0.9614 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.494, allocations: 0.5822 MB / 0.9619 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02533/1.519, allocations: 10.1 MB / 0.9718 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-05/1.519, allocations: 80 kB / 0.9719 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/1.519, allocations: 4 kB / 0.9719 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001715/1.519, allocations: 39.84 kB / 0.9719 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2982/1.818, allocations: 14.59 MB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.729e-05/1.818, allocations: 6.328 kB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009048/1.827, allocations: 1.526 MB / 0.9877 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009649/1.836, allocations: 1.6 MB / 0.9892 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001824/1.838, allocations: 264.5 kB / 0.9895 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/1.853, allocations: 11.35 MB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.853, allocations: 4.125 kB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02947/1.883, allocations: 12.95 MB / 1.013 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004192/1.887, allocations: 1.24 MB / 1.014 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.888, allocations: 147.5 kB / 1.015 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.892, allocations: 152.1 kB / 1.015 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.893, allocations: 0.6051 MB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000608/1.893, allocations: 315.8 kB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002671/1.896, allocations: 1.861 MB / 1.017 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.896, allocations: 2.5 kB / 1.017 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01361/1.91, allocations: 5.105 MB / 1.022 GB, free: 272.1 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.01113/1.921, allocations: 5.701 MB / 1.028 GB, free: 271 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.934, allocations: 8.413 MB / 1.036 GB, free: 267.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/1.934, allocations: 6 kB / 1.036 GB, free: 267.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006363/1.94, allocations: 4.485 MB / 1.041 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/1.945, allocations: 1.17 MB / 1.042 GB, free: 264.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.962, allocations: 12.91 MB / 1.054 GB, free: 252.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/1.964, allocations: 2.704 MB / 1.057 GB, free: 250.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006336/1.97, allocations: 1.659 MB / 1.059 GB, free: 249.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002376/1.973, allocations: 1.142 MB / 1.06 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.533e-06/1.973, allocations: 0 / 1.06 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.193/2.166, allocations: 173 MB / 1.229 GB, free: 79.26 MB / 0.7012 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.060489622002933] Failed to read output from testmodel.py, exit status != 0: 2.1749742539977888 2.184325292 1.152390507 Calling exit ...