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.0007379/0.0007379, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0007179/0.0007179, allocations: 170.2 kB / 23.18 MB, free: 1.379 MB / 18.57 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 0.853/0.853, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.08664/0.08664, allocations: 17.37 MB / 277.4 MB, free: 11.87 MB / 266.7 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.0009678/0.0009678, allocations: 70.41 kB / 412.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.112, allocations: 59.84 MB / 472.7 MB, free: 13.82 MB / 378.7 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.04359/0.1556, allocations: 47.15 MB / 0.5077 GB, free: 14.67 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3292/0.4848, allocations: 106.1 MB / 0.6113 GB, free: 16.94 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005032/0.4898, allocations: 98.97 kB / 0.6114 GB, free: 16.94 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006424/0.4963, allocations: 2.157 MB / 0.6135 GB, free: 16.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02439/0.5206, allocations: 10.2 MB / 0.6235 GB, free: 16.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03542/0.5561, allocations: 15.8 MB / 0.6389 GB, free: 10.42 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.5695, allocations: 10.53 MB / 0.6492 GB, free: 5.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006192/0.5757, allocations: 4.617 MB / 0.6537 GB, free: 2.348 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01375/0.5894, allocations: 7.635 MB / 0.6611 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.5996, allocations: 5.365 MB / 0.6664 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003923/0.6035, allocations: 0.8867 MB / 0.6672 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03672/0.6402, allocations: 13.08 MB / 0.68 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.004072/0.6443, allocations: 2.132 MB / 0.6821 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.008598/0.6529, allocations: 3.888 MB / 0.6859 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.06254/0.7155, allocations: 25.03 MB / 0.7103 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.7155, allocations: 0 / 0.7103 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7155, allocations: 4 kB / 0.7103 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005514/0.716, allocations: 2.656 kB / 0.7103 GB, free: 13.89 MB / 0.5417 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.0249/0.7409, allocations: 10.62 MB / 0.7207 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.741, allocations: 12.03 kB / 0.7207 GB, free: 3.277 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007924/0.7489, allocations: 1.953 MB / 0.7226 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007723/0.7566, allocations: 3.509 MB / 0.7261 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005784/0.7572, allocations: 0.5764 MB / 0.7266 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/0.7602, allocations: 0.7461 MB / 0.7274 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/0.7801, allocations: 9.219 MB / 0.7364 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.7802, allocations: 2.625 kB / 0.7364 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007814/0.781, allocations: 288 kB / 0.7366 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.7811, allocations: 174.6 kB / 0.7368 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.7996, allocations: 12.58 MB / 0.7491 GB, free: 6.098 MB / 0.573 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.0478/0.8474, allocations: 24.09 MB / 0.7726 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/0.87, allocations: 17.11 MB / 0.7893 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/0.877, allocations: 4.096 MB / 0.7933 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03764/0.9147, allocations: 19.53 MB / 0.8124 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.277e-05/0.9147, allocations: 91.12 kB / 0.8125 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002035/0.9168, allocations: 0.6346 MB / 0.8131 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=581): time 2.205e-05/0.9168, allocations: 0 / 0.8131 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=757): time 0.587/1.504, allocations: 35.23 MB / 0.8475 GB, free: 246.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.393e-05/1.504, allocations: 127.5 kB / 0.8476 GB, free: 246.1 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/1.509, allocations: 3.279 MB / 0.8508 GB, free: 244.9 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/1.511, allocations: 149.8 kB / 0.851 GB, free: 244.8 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.513, allocations: 3.249 MB / 0.8541 GB, free: 242.7 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.003748/1.516, allocations: 2.714 MB / 0.8568 GB, free: 240.9 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/1.518, allocations: 1.701 MB / 0.8585 GB, free: 240.1 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/1.518, allocations: 309.1 kB / 0.8588 GB, free: 239.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004162/1.523, allocations: 2.865 MB / 0.8615 GB, free: 238.7 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/1.529, allocations: 5.754 MB / 0.8672 GB, free: 234 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/1.542, allocations: 9.505 MB / 0.8764 GB, free: 227.2 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.928e-05/1.542, allocations: 22.78 kB / 0.8765 GB, free: 227.2 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01982/1.562, allocations: 10.7 MB / 0.8869 GB, free: 220.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/1.562, allocations: 44 kB / 0.887 GB, free: 220.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-05/1.562, allocations: 91.39 kB / 0.887 GB, free: 220.7 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004968/1.567, allocations: 1.822 MB / 0.8888 GB, free: 219.3 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007527/1.574, allocations: 2.317 MB / 0.8911 GB, free: 217.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.588, allocations: 12.09 MB / 0.9029 GB, free: 205.5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008449/1.596, allocations: 291.8 kB / 0.9032 GB, free: 205.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.598, allocations: 0.5175 MB / 0.9037 GB, free: 204.7 MB / 0.6512 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.004551/1.603, allocations: 1.201 MB / 0.9049 GB, free: 203.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/1.605, allocations: 0.582 MB / 0.9054 GB, free: 203 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.621, allocations: 10.1 MB / 0.9153 GB, free: 194.2 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/1.621, allocations: 76 kB / 0.9154 GB, free: 194.1 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/1.621, allocations: 6.688 kB / 0.9154 GB, free: 194.1 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/1.621, allocations: 43.78 kB / 0.9154 GB, free: 194.1 MB / 0.6512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02479/1.646, allocations: 14.61 MB / 0.9297 GB, free: 179.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.646, allocations: 4 kB / 0.9297 GB, free: 179.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/1.65, allocations: 1.524 MB / 0.9312 GB, free: 178.1 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/1.655, allocations: 1.605 MB / 0.9327 GB, free: 176.5 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007893/1.655, allocations: 259.9 kB / 0.933 GB, free: 176.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.666, allocations: 11.35 MB / 0.9441 GB, free: 164.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.666, allocations: 4 kB / 0.9441 GB, free: 164.4 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/1.686, allocations: 12.95 MB / 0.9567 GB, free: 151.3 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/1.69, allocations: 1.238 MB / 0.9579 GB, free: 150.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009105/1.691, allocations: 155.9 kB / 0.9581 GB, free: 149.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.693, allocations: 150.2 kB / 0.9582 GB, free: 149.8 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009463/1.694, allocations: 0.6027 MB / 0.9588 GB, free: 149.2 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000604/1.695, allocations: 318.9 kB / 0.9591 GB, free: 148.8 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.002534/1.697, allocations: 1.867 MB / 0.9609 GB, free: 147 MB / 0.6512 GB Notification: Performance of sort global known variables: time 3.11e-07/1.697, allocations: 0 / 0.9609 GB, free: 147 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.01863/1.716, allocations: 5.101 MB / 0.9659 GB, free: 142.4 MB / 0.6512 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.01368/1.73, allocations: 5.699 MB / 0.9715 GB, free: 137.7 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.744, allocations: 8.424 MB / 0.9797 GB, free: 129.2 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/1.744, allocations: 4 kB / 0.9797 GB, free: 129.2 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.007134/1.751, allocations: 4.477 MB / 0.9841 GB, free: 124.6 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005567/1.757, allocations: 1.174 MB / 0.9852 GB, free: 123.5 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.776, allocations: 12.89 MB / 0.9978 GB, free: 110.5 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002188/1.778, allocations: 2.708 MB / 1 GB, free: 107.8 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.005638/1.784, allocations: 1.651 MB / 1.002 GB, free: 106.3 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/1.786, allocations: 1.138 MB / 1.003 GB, free: 105.1 MB / 0.6512 GB Notification: Performance of SimCode: time 2.635e-06/1.786, allocations: 0 / 1.003 GB, free: 105.1 MB / 0.6512 GB Notification: Performance of Templates: time 0.4265/2.212, allocations: 163.6 MB / 1.163 GB, free: 206.8 MB / 0.6512 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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 9.639402717002667] Failed to read output from testmodel.py, exit status != 0: 2.3880090130260214 2.226660068 1.509525065 Calling exit ...