Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001355/0.001355, allocations: 107.4 kB / 16.45 MB, free: 6.508 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.001359/0.001359, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1689/0.1689, allocations: 23.89 MB / 332.7 MB, free: 12.32 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002124/0.002124, allocations: 67.89 kB / 466.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4082, allocations: 59.83 MB / 0.5141 GB, free: 9.176 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07254/0.4807, allocations: 51.11 MB / 0.564 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1625/0.6432, allocations: 121.3 MB / 0.6824 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009703/0.6529, allocations: 103.2 kB / 0.6825 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009495/0.6624, allocations: 2.397 MB / 0.6848 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0398/0.7022, allocations: 10.19 MB / 0.6948 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.05401/0.7562, allocations: 15.61 MB / 0.71 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02016/0.7763, allocations: 10.55 MB / 0.7203 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009701/0.786, allocations: 4.691 MB / 0.7249 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3669/1.153, allocations: 5.423 MB / 0.7302 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01505/1.168, allocations: 5.977 MB / 0.7361 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.006227/1.174, allocations: 0.8853 MB / 0.7369 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05784/1.232, allocations: 13.91 MB / 0.7505 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006608/1.239, allocations: 2.132 MB / 0.7526 GB, free: 25.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01461/1.253, allocations: 4.547 MB / 0.757 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.09193/1.345, allocations: 24.95 MB / 0.7814 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.378e-06/1.345, allocations: 1.031 kB / 0.7814 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.465e-06/1.345, allocations: 2.969 kB / 0.7814 GB, free: 22.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005872/1.346, allocations: 2.719 kB / 0.7814 GB, free: 22.41 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.03881/1.385, allocations: 10.73 MB / 0.7919 GB, free: 17.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.385, allocations: 9.469 kB / 0.7919 GB, free: 17.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/1.398, allocations: 1.949 MB / 0.7938 GB, free: 17.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/1.408, allocations: 3.619 MB / 0.7973 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008689/1.409, allocations: 0.5512 MB / 0.7979 GB, free: 16.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/1.414, allocations: 0.7377 MB / 0.7986 GB, free: 16.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/1.449, allocations: 9.211 MB / 0.8076 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005072/1.449, allocations: 7.562 kB / 0.8076 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004058/1.453, allocations: 283.6 kB / 0.8079 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/1.454, allocations: 173.7 kB / 0.808 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02976/1.483, allocations: 12.71 MB / 0.8204 GB, free: 0.543 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.08451/1.568, allocations: 30.31 MB / 0.85 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04346/1.611, allocations: 19.83 MB / 0.8694 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01048/1.622, allocations: 4.091 MB / 0.8734 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07266/1.694, allocations: 36.64 MB / 0.9092 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.499e-05/1.695, allocations: 87.12 kB / 0.9093 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003828/1.698, allocations: 0.6542 MB / 0.9099 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=581): time 2.161e-05/1.698, allocations: 0 / 0.9099 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=757): time 0.1406/1.839, allocations: 35.59 MB / 0.9447 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.839, allocations: 132 kB / 0.9448 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007431/1.847, allocations: 3.387 MB / 0.9481 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001815/1.848, allocations: 149.7 kB / 0.9482 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003305/1.852, allocations: 3.252 MB / 0.9514 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004586/1.856, allocations: 2.708 MB / 0.9541 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006321/1.863, allocations: 1.709 MB / 0.9557 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001694/1.863, allocations: 305.1 kB / 0.956 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007021/1.87, allocations: 2.857 MB / 0.9588 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.881, allocations: 5.736 MB / 0.9644 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3177/2.199, allocations: 9.49 MB / 0.9737 GB, free: 296.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/2.199, allocations: 26.88 kB / 0.9737 GB, free: 296.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03223/2.231, allocations: 10.7 MB / 0.9841 GB, free: 295.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/2.231, allocations: 48.25 kB / 0.9842 GB, free: 295.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/2.231, allocations: 90.28 kB / 0.9843 GB, free: 295.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009593/2.241, allocations: 1.808 MB / 0.986 GB, free: 295 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/2.253, allocations: 2.311 MB / 0.9883 GB, free: 294.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/2.272, allocations: 12.82 MB / 1.001 GB, free: 284.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0085/2.28, allocations: 293.7 kB / 1.001 GB, free: 284.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/2.283, allocations: 0.5182 MB / 1.002 GB, free: 284.4 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.006593/2.29, allocations: 1.202 MB / 1.003 GB, free: 283.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003094/2.293, allocations: 0.6004 MB / 1.003 GB, free: 283.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0356/2.328, allocations: 10.1 MB / 1.013 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.707e-05/2.328, allocations: 76.5 kB / 1.013 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-05/2.328, allocations: 7.75 kB / 1.013 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002972/2.329, allocations: 43.25 kB / 1.013 GB, free: 279.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04943/2.378, allocations: 16.31 MB / 1.029 GB, free: 273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.321e-05/2.378, allocations: 3.25 kB / 1.029 GB, free: 273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008449/2.387, allocations: 1.532 MB / 1.031 GB, free: 272.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00834/2.395, allocations: 1.602 MB / 1.032 GB, free: 272.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001808/2.397, allocations: 261.8 kB / 1.033 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/2.413, allocations: 12.09 MB / 1.044 GB, free: 262.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.413, allocations: 3.656 kB / 1.044 GB, free: 262.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03221/2.445, allocations: 12.95 MB / 1.057 GB, free: 256.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004034/2.449, allocations: 1.345 MB / 1.058 GB, free: 256 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002225/2.451, allocations: 148.6 kB / 1.059 GB, free: 255.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/2.456, allocations: 157.9 kB / 1.059 GB, free: 255.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001745/2.458, allocations: 0.5742 MB / 1.059 GB, free: 255.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001282/2.459, allocations: 320.6 kB / 1.06 GB, free: 255.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00387/2.463, allocations: 2.038 MB / 1.062 GB, free: 253.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/2.463, allocations: 2.688 kB / 1.062 GB, free: 253.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01939/2.482, allocations: 5.103 MB / 1.067 GB, free: 249.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.01575/2.498, allocations: 5.714 MB / 1.072 GB, free: 244.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0207/2.519, allocations: 8.399 MB / 1.08 GB, free: 236.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.519, allocations: 0 / 1.08 GB, free: 236.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.009732/2.528, allocations: 4.478 MB / 1.085 GB, free: 231.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008743/2.537, allocations: 1.192 MB / 1.086 GB, free: 230.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0267/2.564, allocations: 12.91 MB / 1.098 GB, free: 217.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/2.568, allocations: 3.18 MB / 1.102 GB, free: 214.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.007711/2.576, allocations: 1.679 MB / 1.103 GB, free: 213 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00298/2.579, allocations: 1.152 MB / 1.104 GB, free: 211.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/2.579, allocations: 0 / 1.104 GB, free: 211.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.2188/2.797, allocations: 167.1 MB / 1.268 GB, free: 45.21 MB / 0.7169 GB " [Timeout remaining time 657] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.144445050042123] Failed to read output from testmodel.py, exit status != 0: 2.8078844021074474 2.816189385 1.468355551 Calling exit ...