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.0006771/0.0006771, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009115/0.001589, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006823/0.0006823, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008991/0.001581, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.003/1.003, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.107/1.11, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.08427/0.08427, allocations: 17.46 MB / 261.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01068/0.09495, allocations: 6.959 MB / 268.4 MB, free: 6.398 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 269.7 MB, free: 5.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.374e-05, allocations: 2.312 kB / 269.7 MB, free: 5.086 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.1476/0.1476, allocations: 29.81 MB / 299.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1033/0.2509, allocations: 121.3 MB / 420.8 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005996/0.2569, allocations: 95.25 kB / 420.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005963/0.2629, allocations: 2.229 MB / 423.1 MB, free: 8.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2012/0.4641, allocations: 10.35 MB / 433.5 MB, free: 5.621 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03519/0.4993, allocations: 16.13 MB / 449.6 MB, free: 3.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01504/0.5143, allocations: 10.79 MB / 460.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006412/0.5207, allocations: 4.868 MB / 465.3 MB, free: 448 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.5335, allocations: 7.822 MB / 473.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008746/0.5423, allocations: 4.849 MB / 477.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003369/0.5456, allocations: 0.8875 MB / 478.8 MB, free: 15.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03317/0.5788, allocations: 13.74 MB / 492.6 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.582, allocations: 1.44 MB / 494 MB, free: 13.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01279/0.5948, allocations: 2.574 MB / 496.6 MB, free: 11.26 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05436/0.6492, allocations: 21.2 MB / 0.5057 GB, free: 8.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-05/0.6492, allocations: 0 / 0.5057 GB, free: 8.383 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6492, allocations: 4 kB / 0.5057 GB, free: 8.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003547/0.6496, allocations: 3.984 kB / 0.5057 GB, free: 8.375 MB / 442.7 MB 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.02106/0.6706, allocations: 13.87 MB / 0.5192 GB, free: 10.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.6707, allocations: 8.031 kB / 0.5192 GB, free: 10.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007744/0.6784, allocations: 3.159 MB / 0.5223 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005794/0.6842, allocations: 2.676 MB / 0.5249 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003872/0.6846, allocations: 0.5764 MB / 0.5255 GB, free: 4.648 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00133/0.6859, allocations: 0.7374 MB / 0.5262 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00904/0.695, allocations: 6.656 MB / 0.5327 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.6951, allocations: 7.359 kB / 0.5327 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006037/0.6957, allocations: 292.3 kB / 0.533 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/0.6958, allocations: 175.9 kB / 0.5331 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007683/0.7035, allocations: 6.329 MB / 0.5393 GB, free: 6.633 MB / 474.7 MB 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.02981/0.7333, allocations: 18.35 MB / 0.5572 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.7535, allocations: 19.06 MB / 0.5759 GB, free: 1.793 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/0.7573, allocations: 1.957 MB / 0.5778 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02764/0.7849, allocations: 16.21 MB / 0.5936 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.56e-05/0.785, allocations: 99 kB / 0.5937 GB, free: 8 kB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001681/0.7867, allocations: 0.6164 MB / 0.5943 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 1.392e-05/0.7867, allocations: 0 / 0.5943 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757): time 0.2286/1.015, allocations: 24.01 MB / 0.6177 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/1.015, allocations: 128 kB / 0.6179 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/1.018, allocations: 3.003 MB / 0.6208 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006821/1.018, allocations: 151.7 kB / 0.6209 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.02, allocations: 2.773 MB / 0.6236 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.021, allocations: 2.713 MB / 0.6263 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/1.023, allocations: 1.704 MB / 0.628 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.967e-05/1.023, allocations: 301.1 kB / 0.6282 GB, free: 118 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.025, allocations: 1.138 MB / 0.6294 GB, free: 118 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.027, allocations: 4.06 MB / 0.6333 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/1.032, allocations: 6.629 MB / 0.6398 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-05/1.032, allocations: 27.91 kB / 0.6398 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.008357/1.04, allocations: 6.169 MB / 0.6458 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/1.04, allocations: 40.53 kB / 0.6459 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.224e-05/1.041, allocations: 93.16 kB / 0.646 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004767/1.045, allocations: 1.857 MB / 0.6478 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006003/1.051, allocations: 2.762 MB / 0.6505 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/1.058, allocations: 9.313 MB / 0.6596 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/1.063, allocations: 286.7 kB / 0.6599 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008209/1.063, allocations: 443.6 kB / 0.6603 GB, free: 103.9 MB / 0.5261 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.001972/1.065, allocations: 0.7003 MB / 0.661 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.066, allocations: 0.5576 MB / 0.6615 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/1.076, allocations: 6.079 MB / 0.6674 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/1.076, allocations: 80.42 kB / 0.6675 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.467e-05/1.076, allocations: 3.938 kB / 0.6675 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.401e-05/1.076, allocations: 38.16 kB / 0.6676 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/1.089, allocations: 8.326 MB / 0.6757 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/1.089, allocations: 4.031 kB / 0.6757 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004179/1.094, allocations: 1.849 MB / 0.6775 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.096, allocations: 0.7991 MB / 0.6783 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004295/1.1, allocations: 1.656 MB / 0.6799 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006397/1.101, allocations: 249.8 kB / 0.6801 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006435/1.107, allocations: 8.872 MB / 0.6888 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/1.108, allocations: 5.906 kB / 0.6888 GB, free: 95.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008829/1.116, allocations: 6.843 MB / 0.6955 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.117, allocations: 149.8 kB / 0.6956 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.12, allocations: 149.3 kB / 0.6958 GB, free: 93.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007919/1.121, allocations: 0.601 MB / 0.6964 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005184/1.121, allocations: 247 kB / 0.6966 GB, free: 93.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001339/1.122, allocations: 1.371 MB / 0.6979 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/1.122, allocations: 4 kB / 0.6979 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01332/1.136, allocations: 5.101 MB / 0.7029 GB, free: 88.33 MB / 0.5261 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.01068/1.146, allocations: 6.332 MB / 0.7091 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008954/1.155, allocations: 5.559 MB / 0.7145 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0002842/1.156, allocations: 115.8 kB / 0.7146 GB, free: 77.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.159, allocations: 3.119 MB / 0.7177 GB, free: 75.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/1.164, allocations: 1.959 MB / 0.7196 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04261/1.207, allocations: 11.45 MB / 0.7308 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/1.208, allocations: 1.103 MB / 0.7319 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004766/1.213, allocations: 1.637 MB / 0.7335 GB, free: 60.16 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003035/1.216, allocations: 2 MB / 0.7354 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/1.216, allocations: 0 / 0.7354 GB, free: 58.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.3427/1.558, allocations: 193.7 MB / 0.9246 GB, free: 34.66 MB / 0.5261 GB " [Timeout remaining time 658] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.778192654252052]