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.00165/0.00165, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001679/0.001679, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.789 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.1406/0.1406, allocations: 23.88 MB / 336.3 MB, free: 11.05 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.00204/0.00204, allocations: 63.89 kB / 471.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 59.86 MB / 0.5191 GB, free: 9.695 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.09498/0.4224, allocations: 47 MB / 0.565 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1486/0.571, allocations: 106.1 MB / 0.6686 GB, free: 364 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006601/0.5776, allocations: 95.25 kB / 0.6687 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008448/0.586, allocations: 2.16 MB / 0.6708 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03572/0.6217, allocations: 10.18 MB / 0.6807 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04656/0.6683, allocations: 15.78 MB / 0.6961 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01688/0.6852, allocations: 10.54 MB / 0.7064 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007193/0.6924, allocations: 4.694 MB / 0.711 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008745/0.7011, allocations: 5.449 MB / 0.7163 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01124/0.7124, allocations: 5.974 MB / 0.7221 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004706/0.7171, allocations: 0.8828 MB / 0.723 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3072/1.024, allocations: 13.38 MB / 0.7361 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005238/1.03, allocations: 2.138 MB / 0.7382 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01113/1.041, allocations: 3.876 MB / 0.7419 GB, free: 37.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05696/1.098, allocations: 24.87 MB / 0.7662 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.098, allocations: 3.844 kB / 0.7662 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/1.098, allocations: 0 / 0.7662 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004477/1.098, allocations: 3.062 kB / 0.7662 GB, free: 35.77 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.02707/1.125, allocations: 10.61 MB / 0.7766 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.125, allocations: 6.75 kB / 0.7766 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009855/1.135, allocations: 1.954 MB / 0.7785 GB, free: 30.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009705/1.145, allocations: 3.516 MB / 0.7819 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005285/1.145, allocations: 0.5776 MB / 0.7825 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.148, allocations: 0.7431 MB / 0.7832 GB, free: 29.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/1.169, allocations: 9.217 MB / 0.7922 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/1.169, allocations: 6.219 kB / 0.7922 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.17, allocations: 290.7 kB / 0.7925 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/1.171, allocations: 173.1 kB / 0.7927 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02301/1.194, allocations: 12.57 MB / 0.805 GB, free: 29.11 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.06264/1.256, allocations: 24.09 MB / 0.8285 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03185/1.288, allocations: 17.11 MB / 0.8452 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009239/1.297, allocations: 4.095 MB / 0.8492 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06356/1.361, allocations: 19.52 MB / 0.8682 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/1.361, allocations: 89.78 kB / 0.8683 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003838/1.365, allocations: 0.6202 MB / 0.8689 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.387e-05/1.365, allocations: 2.625 kB / 0.8689 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1336/1.498, allocations: 35.26 MB / 0.9034 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.499, allocations: 129.3 kB / 0.9035 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/1.504, allocations: 3.274 MB / 0.9067 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001544/1.505, allocations: 153.7 kB / 0.9068 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/1.508, allocations: 3.242 MB / 0.91 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004117/1.512, allocations: 2.706 MB / 0.9127 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003006/1.515, allocations: 1.705 MB / 0.9143 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.515, allocations: 309.1 kB / 0.9146 GB, free: 6.887 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005553/1.521, allocations: 2.868 MB / 0.9174 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008926/1.53, allocations: 5.744 MB / 0.923 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/1.547, allocations: 9.509 MB / 0.9323 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-05/1.547, allocations: 28 kB / 0.9323 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02979/1.577, allocations: 10.7 MB / 0.9428 GB, free: 8.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/1.577, allocations: 46.66 kB / 0.9428 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/1.577, allocations: 91.98 kB / 0.9429 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/1.586, allocations: 1.811 MB / 0.9447 GB, free: 6.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/1.597, allocations: 2.324 MB / 0.947 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/1.617, allocations: 12.09 MB / 0.9588 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007842/1.624, allocations: 296 kB / 0.959 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.626, allocations: 0.5194 MB / 0.9595 GB, free: 7.137 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.0042/1.631, allocations: 1.202 MB / 0.9607 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.633, allocations: 0.5744 MB / 0.9613 GB, free: 5.496 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03272/1.665, allocations: 10.1 MB / 0.9711 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001328/1.665, allocations: 76 kB / 0.9712 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.665e-05/1.665, allocations: 4 kB / 0.9712 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002794/1.666, allocations: 39.84 kB / 0.9713 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.323/1.989, allocations: 14.6 MB / 0.9855 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-05/1.989, allocations: 3.094 kB / 0.9855 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009247/1.998, allocations: 1.53 MB / 0.987 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008719/2.007, allocations: 1.6 MB / 0.9886 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001838/2.009, allocations: 265 kB / 0.9888 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/2.023, allocations: 11.34 MB / 0.9999 GB, free: 279.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.023, allocations: 8.062 kB / 0.9999 GB, free: 279.4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03055/2.054, allocations: 12.95 MB / 1.013 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005096/2.059, allocations: 1.249 MB / 1.014 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003617/2.062, allocations: 147.6 kB / 1.014 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00598/2.068, allocations: 153.3 kB / 1.014 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002206/2.071, allocations: 0.6047 MB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/2.072, allocations: 311 kB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003393/2.075, allocations: 1.866 MB / 1.017 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/2.075, allocations: 0 / 1.017 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01966/2.095, allocations: 5.102 MB / 1.022 GB, free: 272.2 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.01603/2.111, allocations: 5.706 MB / 1.027 GB, free: 271.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01668/2.127, allocations: 8.41 MB / 1.036 GB, free: 267.7 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/2.127, allocations: 2.812 kB / 1.036 GB, free: 267.7 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008652/2.136, allocations: 4.493 MB / 1.04 GB, free: 265.5 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007242/2.143, allocations: 1.175 MB / 1.041 GB, free: 264.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/2.165, allocations: 12.9 MB / 1.054 GB, free: 252.6 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/2.167, allocations: 2.701 MB / 1.056 GB, free: 250.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006577/2.174, allocations: 1.664 MB / 1.058 GB, free: 249.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002392/2.176, allocations: 1.129 MB / 1.059 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of SimCode: time 8.72e-07/2.176, allocations: 0 / 1.059 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.203/2.379, allocations: 173 MB / 1.228 GB, free: 79.23 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.690855860244483] Failed to read output from testmodel.py, exit status != 0: 2.390023575630039 2.400165994 1.299705163 Calling exit ...